wok-4.x diff slitaz-loram-http/receipt @ rev 4046
slitaz-loram-*: fix release cdrom
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 09 12:11:22 2009 +0200 (2009-09-09) |
parents | d37cb8649ac6 |
children | 6509db5aa948 |
line diff
1.1 --- a/slitaz-loram-http/receipt Thu Jan 01 07:31:15 2009 +0000 1.2 +++ b/slitaz-loram-http/receipt Wed Sep 09 12:11:22 2009 +0200 1.3 @@ -40,8 +40,8 @@ 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=\$(free | awk '{ n = \$NF } END { print n }') 1.8 -$i if [ \$FREEMEM -gt \$(du -s \$FS | awk '{ print \$1+40000 }') ]; then 1.9 +$i FREEMEM=\$(busybox free | busybox awk '{ n = \$NF } END { print n }') 1.10 +$i if [ \$FREEMEM -gt \$(busybox du -s \$FS | busybox awk '{ print \$1+40000 }') ]; then 1.11 $i status 1.12 $i echo -n "Loading /usr in memory..." 1.13 $i cp -a \$FS /.usr.fs