slitaz-forge diff mirror/info/bin/chksrc @ rev 718

pangolin/web/index.php: add games.slitaz.org
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 25 17:27:46 2021 +0000 (2021-10-25)
parents a4741d4d8fa5
children
line diff
     1.1 --- a/mirror/info/bin/chksrc	Sun May 04 10:31:43 2014 +0000
     1.2 +++ b/mirror/info/bin/chksrc	Mon Oct 25 17:27:46 2021 +0000
     1.3 @@ -34,7 +34,7 @@
     1.4  	. $i
     1.5  	[ -n "$WANTED" ] && continue
     1.6  	for a in $HOST_ARCH ; do
     1.7 -		[ $a == i486 ] && continue
     1.8 +		[ $a = i486 ] && continue
     1.9  		unset TARBALL EXTRA_SOURCE_FILES WGET_URL WANTED PACKAGE VERSION
    1.10  		SLITAZ_ARCH=$a
    1.11  		ARCH=$a
    1.12 @@ -77,10 +77,10 @@
    1.13  		grep -q ^$(basename $i)$ /tmp/tarball$$ && continue
    1.14  		;;
    1.15  	esac
    1.16 -	echo $i && [ "$PURGE" == "yes" ] && \rm -i $i
    1.17 +	echo $i && [ "$PURGE" = "yes" ] && \rm -i $i
    1.18  done
    1.19  rm -f /tmp/tarball$$ /tmp/wget_url$$
    1.20  for i in $SRC2/?/* ; do
    1.21  	[ $(stat -c "%h" $i) -eq 1 ] && echo $i &&
    1.22 -	[ "$PURGE" == "yes" ] && echo "Purge $i" && rm -f $i
    1.23 +	[ "$PURGE" = "yes" ] && echo "Purge $i" && rm -f $i
    1.24  done