wok-next diff eggwm/receipt @ rev 20128

Up celestia (1.6.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 31 11:58:18 2017 +0100 (2017-10-31)
parents 59d50f859d0d
children d5aab818505e
line diff
     1.1 --- a/eggwm/receipt	Mon Apr 14 18:33:22 2014 +0200
     1.2 +++ b/eggwm/receipt	Tue Oct 31 11:58:18 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  }