- %preun: 'prime-select unset' is supposed to fail during

package installation test during build, therefore don't
  let it fail via adding "|| true" to the command

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/suse-prime?expand=0&rev=50
This commit is contained in:
2019-10-07 20:29:20 +00:00
committed by Git OBS Bridge
parent d2895ed05b
commit 8532d7d213
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -3,6 +3,9 @@ Mon Oct 7 19:40:15 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>
- fix build on distributions, where %{?regenerate_initrd_post}
doesn't exist yet
- %preun: 'prime-select unset' is supposed to fail during
package installation test during build, therefore don't
let it fail via adding "|| true" to the command
-------------------------------------------------------------------
Mon Oct 7 13:52:34 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>
+1 -1
View File
@@ -83,7 +83,7 @@ ln -snf service %{buildroot}/usr/sbin/rcprime-select
if [ "$1" -eq 0 ]; then
# cleanup before uninstalling the package completely
export PATH=$PATH:/usr/sbin
%{_sbindir}/prime-select unset
%{_sbindir}/prime-select unset || true
fi
%postun