slitaz-forge diff dvd/mkpkgiso @ rev 709

boot: add mypizza.slitaz.org link
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 15 17:55:16 2019 +0100 (2019-12-15)
parents 35d8bce24a6c
children
line diff
     1.1 --- a/dvd/mkpkgiso	Tue Jan 12 16:10:58 2016 +0100
     1.2 +++ b/dvd/mkpkgiso	Sun Dec 15 17:55:16 2019 +0100
     1.3 @@ -50,7 +50,7 @@
     1.4  fi
     1.5  
     1.6  # Update hg repos
     1.7 -if [ "$PKG_VER" == "update-hg" ]; then
     1.8 +if [ "$PKG_VER" = "update-hg" ]; then
     1.9  	for i in $1/* ; do
    1.10  		grep -qs '\[paths]' $i/.hg/hgrc || continue
    1.11  		cd $i
    1.12 @@ -124,7 +124,7 @@
    1.13  DIR=\$(cd \$(busybox dirname \$0); pwd)
    1.14  
    1.15  # Handle --auto-install case
    1.16 -if [ "\$DIR" == "/etc/init.d" ]; then
    1.17 +if [ "\$DIR" = "/etc/init.d" ]; then
    1.18    DIR=/cdrom
    1.19    if [ ! -f /cdrom/install.sh ]; then
    1.20      mkdir /cdrom 2> /dev/null
    1.21 @@ -325,7 +325,7 @@
    1.22  	need $iso
    1.23  	which isoinfo > /dev/null || need /usr/bin/isoinfo
    1.24  	isoinfo -R -l -i $iso | awk '/^Directory/ { path=$4 } /^-/ { print path$12  }' | while read file; do
    1.25 -		[ "$(basename $file)" == ".." ] && continue
    1.26 +		[ "$(basename $file)" = ".." ] && continue
    1.27  		[ "$file" = "/boot/isolinux/boot.cat" ] && continue
    1.28  		[ -d "$(dirname $TEMP_DIR/$file)" ] ||
    1.29  			mkdir -p "$(dirname $TEMP_DIR/$file)"