# HG changeset patch # User Christopher Rogers # Date 1292183506 0 # Node ID 35354c2b87b9e229507cbf67fe05b300cc33334b # Parent d1b138ae6772d067a9d7738f473c02e35256ca5f Fixed virtualbox-ose pre_remove and post_install with seeding MODULE_LIST. diff -r d1b138ae6772 -r 35354c2b87b9 virtualbox-ose/receipt --- a/virtualbox-ose/receipt Sun Dec 12 22:50:26 2010 +0100 +++ b/virtualbox-ose/receipt Sun Dec 12 19:51:46 2010 +0000 @@ -156,7 +156,7 @@ pre_remove() { - sed -i 's/$MODULE_LIST //' $1/etc/rcS.conf + sed -i "s/$MODULE_LIST //" $1/etc/rcS.conf } post_install() @@ -166,5 +166,5 @@ chroot "$1/" depmod -a $KERNEL_VERSION-slitaz [ -n "$1" ] || for i in $MODULE_LIST; do modprobe $i ; done grep -qs vboxdrv $1/etc/rcS.conf || - sed -i 's/LOAD_MODULES="/&$MODULE_LIST /' $1/etc/rcS.conf + sed -i "s/LOAD_MODULES="/&$MODULE_LIST /" $1/etc/rcS.conf }