wok-6.x rev 19030

cups: reset tazpanel menus cache in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 05 14:59:00 2016 +0200 (2016-04-05)
parents b9aedd1a72c0
children c3426057458e
files cups/receipt
line diff
     1.1 --- a/cups/receipt	Tue Apr 05 09:37:40 2016 +0200
     1.2 +++ b/cups/receipt	Tue Apr 05 14:59:00 2016 +0200
     1.3 @@ -79,6 +79,7 @@
     1.4  	if [ -z "$1" -a ! -s /aufs-umount.sh ]; then
     1.5  		/etc/init.d/cupsd start || continue
     1.6  	fi
     1.7 +	rm -f "$1"/var/cache/tazpanel/* 2> /dev/null
     1.8  	if ! grep -q ^CUPSD_OPTIONS "$1/etc/daemons.conf"; then
     1.9  		cat >> "$1/etc/daemons.conf" <<EOT
    1.10  # CUPS printing daemon options.