- Remove extraneouos %posttrans macros
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=413
This commit is contained in:
parent
cf13951bb8
commit
7851c514a1
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 21 15:28:52 UTC 2018 - Larry.Finger@lwfinger.net
|
||||
|
||||
- Remove extraneouos %posttrans macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 21 04:06:19 UTC 2018 - Larry.Finger@lwfinger.net
|
||||
|
||||
|
@ -766,7 +766,7 @@ getent group vboxsf >/dev/null || groupadd -r vboxsf
|
||||
# scriptlets - post
|
||||
#######################################################
|
||||
|
||||
%posttrans
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
#setup our sysconfig file /etc/sysconfig/vbox
|
||||
%set_permissions %{_vbox_instdir}/VBoxNetNAT
|
||||
@ -775,7 +775,7 @@ getent group vboxsf >/dev/null || groupadd -r vboxsf
|
||||
%set_permissions %{_vbox_instdir}/VBoxHeadless
|
||||
%service_add_post vboxdrv.service
|
||||
|
||||
%posttrans qt
|
||||
%post qt
|
||||
%set_permissions %{_vbox_instdir}/VirtualBox
|
||||
%set_permissions %{_vbox_instdir}/VBoxSDL
|
||||
|
||||
@ -789,12 +789,12 @@ getent group vboxsf >/dev/null || groupadd -r vboxsf
|
||||
%verify_permissions -e %{_vbox_instdir}/VirtualBox
|
||||
%verify_permissions -e %{_vbox_instdir}/VBoxSDL
|
||||
|
||||
%posttrans guest-tools
|
||||
%post guest-tools
|
||||
%service_add_post vboxadd-service.service
|
||||
|
||||
%posttrans websrv
|
||||
%post websrv
|
||||
|
||||
%posttrans vnc
|
||||
%post vnc
|
||||
EXTPACK="/usr/share/virtualbox/extensions/VNC-%{version}.vbox-extpack"
|
||||
ACCEPT="$(tar --to-stdout -xf "${EXTPACK}" ./ExtPack-license.txt | sha256sum | head --bytes=64)"
|
||||
VBoxManage extpack install --replace "${EXTPACK}" --accept-license="${ACCEPT}" > /dev/null
|
||||
@ -822,7 +822,7 @@ exit 0
|
||||
# scriptlets postun
|
||||
#######################################################
|
||||
|
||||
%posttrans
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%restart_on_update vboxdrv
|
||||
%insserv_cleanup
|
||||
@ -830,13 +830,13 @@ exit 0
|
||||
export DISABLE_RESTART_ON_UPDATE=yes
|
||||
%service_del_postun vboxdrv.service
|
||||
|
||||
%posttrans guest-tools
|
||||
%postun guest-tools
|
||||
%restart_on_update vboxadd
|
||||
%restart_on_update vboxadd-service
|
||||
%insserv_cleanup
|
||||
%service_del_postun vboxadd-service.service
|
||||
|
||||
%posttrans websrv
|
||||
%postun websrv
|
||||
%restart_on_update vboxweb-service
|
||||
%insserv_cleanup
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user