wok diff slitaz-loram-http/receipt @ rev 4503

slitaz-loram*: extract by default
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 22 12:40:18 2009 +0100 (2009-11-22)
parents d9ddcc6d973c
children 09c454bea68c
line diff
     1.1 --- a/slitaz-loram-http/receipt	Sun Nov 08 12:55:54 2009 +0100
     1.2 +++ b/slitaz-loram-http/receipt	Sun Nov 22 12:40:18 2009 +0100
     1.3 @@ -45,7 +45,7 @@
     1.4  $i	FREEMEM=\$(free | awk '{ n = \$NF } END { print n }')	
     1.5  $i	if [ \$FREEMEM -gt \$(du -s \$FS | awk '{ print \$1+40000 }') ]; then
     1.6  $i		status
     1.7 -$i		if grep -q " extract-loram" /proc/cmdline &&
     1.8 +$i		if ! grep -q " keep-loram" /proc/cmdline &&
     1.9  $i		    [ -d \$FS -o \$FREEMEM -gt \$(du -s \$FS | \\
    1.10  $i			awk '{ print (\$1*4)+40000 }') ]; then
    1.11  $i			echo -n "Extracting loram..."
    1.12 @@ -130,6 +130,11 @@
    1.13  post_install()
    1.14  {
    1.15      set_patch "$1"
    1.16 +    cat <<EOF
    1.17 +----
    1.18 +'tazlito gen-distro' will create a loram-http flavor 
    1.19 +while this package is installed.
    1.20 +EOF
    1.21      if [ ! -x $1/bin/funionfs ]; then
    1.22          cat <<EOF
    1.23  ----
    1.24 @@ -146,4 +151,8 @@
    1.25  pre_remove()
    1.26  {
    1.27      set_patch '' -R 
    1.28 +    cat <<EOF
    1.29 +----
    1.30 +'tazlito gen-distro' will work as expected now.
    1.31 +EOF
    1.32  }