wok diff eggwm/receipt @ rev 19706

audit: disable some preinstalled packages
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 14 22:13:07 2017 +0100 (2017-02-14)
parents 59d50f859d0d
children 970c5ec9a60a
line diff
     1.1 --- a/eggwm/receipt	Mon Apr 14 18:33:22 2014 +0200
     1.2 +++ b/eggwm/receipt	Tue Feb 14 22:13:07 2017 +0100
     1.3 @@ -46,7 +46,7 @@
     1.4  post_remove()
     1.5  {
     1.6  	# Remove WM from SLIM available sessions.
     1.7 -	if grep -q $PACKAGE $1/etc/slim.conf; then
     1.8 -		sed -i s/,$PACKAGE// $root/etc/slim.conf
     1.9 +	if grep -q $PACKAGE "$1/etc/slim.conf"; then
    1.10 +		sed -i s/,$PACKAGE// "$1/etc/slim.conf"
    1.11  	fi
    1.12  }