wok-6.x rev 6029

icedtea6-jdk: do not always install gawk
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 15 17:07:52 2010 +0200 (2010-08-15)
parents 1f09198f8c07
children 3ee592ac32af
files icedtea6-jdk/receipt
line diff
     1.1 --- a/icedtea6-jdk/receipt	Sun Aug 15 17:03:07 2010 +0200
     1.2 +++ b/icedtea6-jdk/receipt	Sun Aug 15 17:07:52 2010 +0200
     1.3 @@ -31,7 +31,8 @@
     1.4  
     1.5  	cd $src
     1.6  	[ -L /usr/bin/diff ] && tazpkg get-install diffutils --forced
     1.7 -	[ -L /usr/bin/awk ] && tazpkg get-install gawk --forced
     1.8 +	[ "$(readlink /usr/bin/awk)" == "gawk" ] ||
     1.9 +	tazpkg get-install gawk --forced
    1.10  	mem=$(free | awk '/Mem:/ { printf "%d\n",$2/1024 }')
    1.11  	cat > slitaz.sh <<EOT
    1.12  # Busybox compatibility