wok diff compiz/receipt @ rev 16125
ARM: add xorg-libXdamage and conky
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 23 22:52:11 2014 +0100 (2014-03-23) |
parents | eb8067417980 |
children | 5d53e8ccbc8d |
line diff
1.1 --- a/compiz/receipt Sat Nov 30 10:06:29 2013 +0000 1.2 +++ b/compiz/receipt Sun Mar 23 22:52:11 2014 +0100 1.3 @@ -28,11 +28,11 @@ 1.4 1.5 post_install() 1.6 { 1.7 - res=$(cat $1/etc/slim.conf | grep ^session | sed s/"sessions. *"//) 1.8 + res=$(cat $root/etc/slim.conf | grep ^session | sed s/"sessions. *"//) 1.9 # Adding WM to SLIM available sessions. 1.10 if ! echo "$res" | grep -q $PACKAGE; then 1.11 echo -n "Adding $PACKAGE to /etc/slim.conf..." 1.12 - sed -i "s/^sessions.*/sessions ${res},$PACKAGE/" $1/etc/slim.conf 1.13 + sed -i "s/^sessions.*/sessions ${res},$PACKAGE/" $root/etc/slim.conf 1.14 status 1.15 fi 1.16 } 1.17 @@ -40,7 +40,7 @@ 1.18 post_remove() 1.19 { 1.20 # Remove WM from SLIM available sessions. 1.21 - if grep -q $PACKAGE $1/etc/slim.conf; then 1.22 - sed -i s/,$PACKAGE// $1/etc/slim.conf 1.23 + if grep -q $PACKAGE $root/etc/slim.conf; then 1.24 + sed -i s/,$PACKAGE// $root/etc/slim.conf 1.25 fi 1.26 }