- %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:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user