wok-next diff lxqt-common/receipt @ rev 19844
sakura -> sakura-gtk2; vte -> vte-gtk2; add sakura, vte; up gtk-engines, lxde, wpa_supplicant.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 25 15:45:11 2017 +0300 (2017-08-25) |
parents | 9b3667c444af |
children | 4c3ee4d2d357 |
line diff
1.1 --- a/lxqt-common/receipt Fri May 29 11:18:00 2015 +0200 1.2 +++ b/lxqt-common/receipt Fri Aug 25 15:45:11 2017 +0300 1.3 @@ -39,11 +39,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 "$1/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 lxqt to /etc/slim.conf..." 1.12 - sed -i "s/^sessions.*/sessions ${res},lxqt/" $1/etc/slim.conf 1.13 + sed -i "s/^sessions.*/sessions ${res},lxqt/" "$1/etc/slim.conf" 1.14 status 1.15 fi 1.16 } 1.17 @@ -51,8 +51,8 @@ 1.18 post_remove() 1.19 { 1.20 # Remove WM from SLIM available sessions. 1.21 - if grep -q lxqt $1/etc/slim.conf; then 1.22 - sed -i s/,lxqt// $1/etc/slim.conf 1.23 + if grep -q lxqt "$1/etc/slim.conf"; then 1.24 + sed -i s/,lxqt// "$1/etc/slim.conf" 1.25 fi 1.26 } 1.27