# HG changeset patch # User Pascal Bellard # Date 1258890018 -3600 # Node ID fd85055f79dbe4a98062202fd66dc3bc1d52ab32 # Parent 774563c05eba376dbd382829f0d89d6bfb66d0c1 slitaz-loram*: extract by default diff -r 774563c05eba -r fd85055f79db slitaz-loram-cdrom/receipt --- a/slitaz-loram-cdrom/receipt Fri Nov 20 15:41:08 2009 +0000 +++ b/slitaz-loram-cdrom/receipt Sun Nov 22 12:40:18 2009 +0100 @@ -44,7 +44,7 @@ $i { $i FREEMEM=\$(free | awk '{ n = \$NF } END { print n }') $i if [ \$FREEMEM -gt \$(du -s \$FS | awk '{ print \$1+40000 }') ]; then -$i if grep -q " extract-loram" /proc/cmdline && +$i if ! grep -q " keep-loram" /proc/cmdline && $i [ -d \$FS -o \$FREEMEM -gt \$(du -s \$FS | \\ $i awk '{ print (\$1*4)+40000 }') ]; then $i echo -n "Extracting loram..." @@ -170,6 +170,11 @@ post_install() { set_patch "$1" + cat <