wok diff linux-zram/receipt @ rev 16992

mate-polkit-dev: Remove wget url
author Yuri Pourre <yuripourre@gmail.com>
date Sat Aug 09 13:07:57 2014 -0300 (2014-08-09)
parents db5b03f42dd9
children 08cf996a2307
line diff
     1.1 --- a/linux-zram/receipt	Wed Jan 29 09:56:07 2014 +0100
     1.2 +++ b/linux-zram/receipt	Sat Aug 09 13:07:57 2014 -0300
     1.3 @@ -32,7 +32,9 @@
     1.4  # Post install/remove commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 -	chroot "$root/" depmod -a $VERSION-slitaz
     1.8 +	chroot "$root/" depmod -a $VERSION-slitaz &&
     1.9 +	RAM=`cat /proc/meminfo | grep MemTotal | sed s/[^0-9]//g` &&
    1.10 +	echo "SIZE_KB="$(($RAM/2)) > /etc/compcache.conf
    1.11  }
    1.12  
    1.13  post_remove()