wok rev 18631

tazpanel/post_install: clear cache
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 25 10:32:45 2015 +0100 (2015-11-25)
parents 754e3076b61b
children e73879136901
files tazpanel/receipt
line diff
     1.1 --- a/tazpanel/receipt	Wed Nov 25 07:29:51 2015 +0200
     1.2 +++ b/tazpanel/receipt	Wed Nov 25 10:32:45 2015 +0100
     1.3 @@ -34,6 +34,7 @@
     1.4  # Pre and post install commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 +	rm -f $1/var/cache/tazpanel/* 2> /dev/null
     1.8  	grep -qs tazpanel $1/etc/hosts ||
     1.9  		sed -i 's/^127.0.0.1.*/& tazpanel/' $1/etc/hosts
    1.10