wok-current diff slitaz-loram/receipt @ rev 4535

Up:gecko-mediaplayer (firefox mplayer plugin)
author Rohit Joshi <jozee@slitaz.org>
date Mon Nov 30 10:34:40 2009 +0000 (2009-11-30)
parents d9ddcc6d973c
children fa0257184d3c
line diff
     1.1 --- a/slitaz-loram/receipt	Sun Nov 08 12:55:54 2009 +0100
     1.2 +++ b/slitaz-loram/receipt	Mon Nov 30 10:34:40 2009 +0000
     1.3 @@ -50,7 +50,7 @@
     1.4  $i		echo -n "only... "
     1.5  $i	fi
     1.6  $i	FREEMEM=\$(free | awk '{ n = \$NF } END { print n }')
     1.7 -$i	if grep -q " extract-loram" /proc/cmdline && [ \$FREEMEM -gt \\
     1.8 +$i	if ! grep -q " keep-loram" /proc/cmdline && [ \$FREEMEM -gt \\
     1.9  $i	\$(du -s \$FS | awk '{ print (\$1*4)+40000 }') ]; then
    1.10  $i		echo -n "Extracting loram..."
    1.11  $i		. /etc/tazlito/loram.extract
    1.12 @@ -95,6 +95,10 @@
    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 flavor while this package is installed.
    1.19 +EOF
    1.20      if [ ! -x $1/bin/funionfs -a ! -d $1/var/lib/tazpkg/installed/aufs ]; then
    1.21          cat <<EOF
    1.22  ----
    1.23 @@ -113,4 +117,8 @@
    1.24  pre_remove()
    1.25  {
    1.26      set_patch '' -R
    1.27 +    cat <<EOF
    1.28 +----
    1.29 +'tazlito gen-distro' will work as expected now.
    1.30 +EOF
    1.31  }