1
0
forked from pool/virtualbox

Accepting request 1062966 from home:lwfinger:branches:Virtualization

-  Fix a few places that did not get updated for the transition from
   /sbin => /usr/sbin, and /etc/udev => /usr/lib/udev.  boo#1207736.
   ldconfig has not been moved in Leap 15.4 - use /sbin for it.

OBS-URL: https://build.opensuse.org/request/show/1062966
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=675
This commit is contained in:
Larry Rainey
2023-02-03 00:11:22 +00:00
committed by Git OBS Bridge
parent 030c30350e
commit 02c410e4c7
5 changed files with 14 additions and 183 deletions

View File

@@ -49,10 +49,10 @@ if [ -f ~/.config/VirtualBox/disable ] ; then
echo $INODE > ~/.config/VirtualBox/disable
if [ "$LINE" != "$INODE" ] ; then
if [ -f /usr/bin/kdesu ] ; then
kdesu /sbin/vbox-fix-usb-rules.sh
kdesu /usr/sbin/vbox-fix-usb-rules.sh
fi
if [ -f /usr/bin/gnomesu ] ; then
gnomesu /sbin/vbox-fix-usb-rules.sh
gnomesu /usr/sbin/vbox-fix-usb-rules.sh
fi
fi
fi