wok-next diff eggwm/receipt @ rev 19225

Up remind (03.01.15)
author Paul Issott <paul@slitaz.org>
date Wed Jun 22 19:29:55 2016 +0100 (2016-06-22)
parents 59d50f859d0d
children d5aab818505e
line diff
     1.1 --- a/eggwm/receipt	Mon Apr 14 18:33:22 2014 +0200
     1.2 +++ b/eggwm/receipt	Wed Jun 22 19:29:55 2016 +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  }