cookutils diff init.d/cooker @ rev 1148

cook: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 09 15:36:25 2021 +0000 (2021-11-09)
parents 1520231a65c2
children
line diff
     1.1 --- a/init.d/cooker	Mon Jan 09 04:37:12 2017 +0200
     1.2 +++ b/init.d/cooker	Tue Nov 09 15:36:25 2021 +0000
     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) ]; then
     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