wok-stable diff slitaz-loram-http/receipt @ rev 4473

Update DEPENDS, BUILD_DEPENDS (epdfview)
author Rohit Joshi <jozee@slitaz.org>
date Mon Nov 09 14:22:26 2009 +0000 (2009-11-09)
parents b78e1aa035a3
children fd85055f79db
line diff
     1.1 --- a/slitaz-loram-http/receipt	Sun Oct 18 14:07:57 2009 +0200
     1.2 +++ b/slitaz-loram-http/receipt	Mon Nov 09 14:22:26 2009 +0000
     1.3 @@ -42,12 +42,12 @@
     1.4  $i# Try to release http link (from slitaz-loram-http package)
     1.5  $i release_http()
     1.6  $i {
     1.7 -$i	FREEMEM=\$(busybox free | busybox awk '{ n = \$NF } END { print n }')	
     1.8 -$i	if [ \$FREEMEM -gt \$(busybox du -s \$FS | busybox awk '{ print \$1+40000 }') ]; then
     1.9 +$i	FREEMEM=\$(free | awk '{ n = \$NF } END { print n }')	
    1.10 +$i	if [ \$FREEMEM -gt \$(du -s \$FS | awk '{ print \$1+40000 }') ]; then
    1.11  $i		status
    1.12  $i		if grep -q " extract-loram" /proc/cmdline &&
    1.13 -$i		    [ -d \$FS -o \$FREEMEM -gt \$(busybox du -s \$FS | \\
    1.14 -$i			busybox awk '{ print (\$1*4)+40000 }') ]; then
    1.15 +$i		    [ -d \$FS -o \$FREEMEM -gt \$(du -s \$FS | \\
    1.16 +$i			awk '{ print (\$1*4)+40000 }') ]; then
    1.17  $i			echo -n "Extracting loram..."
    1.18  $i			. /etc/tazlito/loram.extract /cdrom
    1.19  $i			if status; then