wok-current rev 7630
Fixed virtualbox-ose pre_remove and post_install with seeding MODULE_LIST.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Dec 12 19:51:46 2010 +0000 (2010-12-12) |
parents | d1b138ae6772 |
children | ec11cf47daef |
files | virtualbox-ose/receipt |
line diff
1.1 --- a/virtualbox-ose/receipt Sun Dec 12 22:50:26 2010 +0100 1.2 +++ b/virtualbox-ose/receipt Sun Dec 12 19:51:46 2010 +0000 1.3 @@ -156,7 +156,7 @@ 1.4 1.5 pre_remove() 1.6 { 1.7 - sed -i 's/$MODULE_LIST //' $1/etc/rcS.conf 1.8 + sed -i "s/$MODULE_LIST //" $1/etc/rcS.conf 1.9 } 1.10 1.11 post_install() 1.12 @@ -166,5 +166,5 @@ 1.13 chroot "$1/" depmod -a $KERNEL_VERSION-slitaz 1.14 [ -n "$1" ] || for i in $MODULE_LIST; do modprobe $i ; done 1.15 grep -qs vboxdrv $1/etc/rcS.conf || 1.16 - sed -i 's/LOAD_MODULES="/&$MODULE_LIST /' $1/etc/rcS.conf 1.17 + sed -i "s/LOAD_MODULES="/&$MODULE_LIST /" $1/etc/rcS.conf 1.18 }