wok-next diff xfce4/receipt @ rev 18730
Quote root dir in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 20 15:13:45 2015 +0100 (2015-12-20) |
parents | eb8067417980 |
children | d6ca18366f41 |
line diff
1.1 --- a/xfce4/receipt Sat Nov 30 10:06:29 2013 +0000 1.2 +++ b/xfce4/receipt Sun Dec 20 15:13:45 2015 +0100 1.3 @@ -21,12 +21,11 @@ 1.4 1.5 post_install() 1.6 { 1.7 - root=$1 1.8 echo "Processing postinstall commands..." 1.9 1.10 # Adding xfce to SLIM available sessions. 1.11 - if ! grep -q xfce $root/etc/slim.conf; then 1.12 - sed -i s/,jwm/,jwm,xfce/ $root/etc/slim.conf 1.13 + if ! grep -q xfce "$1/etc/slim.conf"; then 1.14 + sed -i s/,jwm/,jwm,xfce/ "$1/etc/slim.conf" 1.15 fi 1.16 1.17 # Adding xfce support to tazx