wok-current rev 10951
get-virtualbox: fix VBoxVMM.so access
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 06 11:45:42 2011 +0200 (2011-09-06) |
parents | 14a02389406d |
children | 0cfa77ea0a47 |
files | get-virtualbox/stuff/get-virtualbox |
line diff
1.1 --- a/get-virtualbox/stuff/get-virtualbox Fri Sep 02 14:26:45 2011 +0200 1.2 +++ b/get-virtualbox/stuff/get-virtualbox Tue Sep 06 11:45:42 2011 +0200 1.3 @@ -65,6 +65,7 @@ 1.4 cd .. 1.5 find /usr /etc /lib /opt > after 1.6 sed -i 's/ps -U/ps | grep/' /opt/VirtualBox/VBox.sh 1.7 +chmod 644 /opt/VirtualBox/VBoxVMM.so 1.8 echo 'lsmod | grep -q vboxdrv || modprobe vboxdrv' >> /etc/vbox/vbox.cfg 1.9 mkdir -p $PACKAGE-$VERSION/fs 1.10 diff -U0 before after | grep ^+/ | sed 's|^\+/||' | \ 1.11 @@ -108,6 +109,9 @@ 1.12 1.13 # Install pseudo package 1.14 tazpkg install $PACKAGE-$VERSION.tazpkg --root=$ROOT 1.15 +case " $@ " in 1.16 +*\ --k*) mv $PACKAGE-$VERSION.tazpkg $CUR_DIR ;; 1.17 +esac 1.18 1.19 # Clean 1.20 cd $CUR_DIR