wok diff enlightenment-pam/receipt @ rev 19229

Add httpfs2-fuse
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 24 16:28:42 2016 +0200 (2016-06-24)
parents 5d53e8ccbc8d
children 970c5ec9a60a
line diff
     1.1 --- a/enlightenment-pam/receipt	Thu Jan 08 02:04:05 2015 +0200
     1.2 +++ b/enlightenment-pam/receipt	Fri Jun 24 16:28:42 2016 +0200
     1.3 @@ -64,7 +64,7 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 -	res=$(grep ^session <$1/etc/slim.conf | sed s/"sessions. *"// \
     1.8 +	res=$(grep ^session < "$1/etc/slim.conf" | sed s/"sessions. *"// \
     1.9  		| sed s/,e17//)
    1.10  	# Adding WM to SLIM available sessions.
    1.11  	if ! echo "$res" | grep -q enlightenment; then
    1.12 @@ -78,7 +78,7 @@
    1.13  post_remove()
    1.14  {
    1.15  	# Remove WM from SLIM available sessions.
    1.16 -	if grep -q enlightenment $1/etc/slim.conf; then
    1.17 -		sed -i s/enlightenement,// $1/etc/slim.conf
    1.18 +	if grep -q enlightenment "$1/etc/slim.conf"; then
    1.19 +		sed -i s/enlightenement,// "$1/etc/slim.conf"
    1.20  	fi
    1.21  }