wok-next diff syslinux/stuff/iso2exe/taziso @ rev 19033

syslinux/taziso: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 10 12:35:57 2016 +0200 (2016-04-10)
parents b9aedd1a72c0
children 3432c28d8372
line diff
     1.1 --- a/syslinux/stuff/iso2exe/taziso	Tue Apr 05 09:37:40 2016 +0200
     1.2 +++ b/syslinux/stuff/iso2exe/taziso	Sun Apr 10 12:35:57 2016 +0200
     1.3 @@ -253,7 +253,7 @@
     1.4  		$mnt/slitaz/boot/README
     1.5  	[ -d $mnt/slitaz/usr/sbin -a ! -x $mnt/slitaz/usr/sbin/mount.posixovl ] &&
     1.6  	cp $(which mount.posixovl) $mnt/slitaz/usr/sbin
     1.7 -	if "$useposixovl" && grep -qs " $mnt " /proc/mounts &&
     1.8 +	if [ "$useposixovl" ] && grep -qs " $mnt " /proc/mounts &&
     1.9  	   [ ! -d $mnt/boot/grub ]; then
    1.10  		mkdir -p $mnt/boot/grub
    1.11  		echo -en "\nInstall grub in /boot/grub..."
    1.12 @@ -464,7 +464,9 @@
    1.13  EOT
    1.14  	( cd $mnt ; echo 'See \slitaz\boot\install.txt to launch SliTaz.' | \
    1.15  	  zip -zr9 $(basename "$ISO" .iso).zip slitaz )
    1.16 -	[ "$(which advzip)" ] && advzip -z4 $mnt/*.zip
    1.17 +	[ "$(which advzip)" ] &&
    1.18 +	echo "Recompressing $(basename "$ISO" .iso).zip ..." &&
    1.19 +	advzip -z4 $mnt/*.zip
    1.20  	mv $mnt/*.zip .
    1.21  	du -h $PWD/$(basename "$ISO" .iso).zip
    1.22  	umount $mnt