cookutils rev 193

daemon script: fix missing then
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 20 22:41:37 2011 +0200 (2011-05-20)
parents bb96f5903b92
children 877a3cba228b
files init.d/cooker
line diff
     1.1 --- a/init.d/cooker	Fri May 20 21:41:33 2011 +0200
     1.2 +++ b/init.d/cooker	Fri May 20 22:41:37 2011 +0200
     1.3 @@ -20,7 +20,7 @@
     1.4  					mount -t devpts devpts $rootfs/dev/pts
     1.5  					mount -t tmpfs shm $rootfs/dev/shm
     1.6  				fi
     1.7 -				if [ ! $(mount | grep -q ${rootfs}$SLITAZ/src) ]
     1.8 +				if [ ! $(mount | grep -q ${rootfs}$SLITAZ/src) ]; then
     1.9  					mount -o bind $SLITAZ/src ${rootfs}$SLITAZ/src
    1.10  					mount -o bind $SLITAZ/$version/packages \
    1.11  						${rootfs}$SLITAZ/packages