wok-6.x diff linux-zram/receipt @ rev 17238

dovecot, proftpd: CVE-2014-3566
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 18 14:31:43 2014 +0200 (2014-10-18)
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 Oct 18 14:31:43 2014 +0200
     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()