wok-next diff lxqt/receipt @ rev 20564

shell-detector, screenfetch: create $install tree
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 10 10:14:26 2018 +0200 (2018-04-10)
parents e65af2bd0cc3
children a3c581bf52b8
line diff
     1.1 --- a/lxqt/receipt	Mon Nov 13 03:40:49 2017 +0200
     1.2 +++ b/lxqt/receipt	Tue Apr 10 10:14:26 2018 +0200
     1.3 @@ -13,7 +13,7 @@
     1.4  lxqt-about lxqt-admin lxqt-config lxqt-globalkeys lxqt-l10n lxqt-notificationd \
     1.5  lxqt-openssh-askpass lxqt-panel lxqt-policykit lxqt-powermanagement \
     1.6  lxqt-qtplugin lxqt-runner lxqt-session lxqt-sudo lxqt-themes pavucontrol-qt \
     1.7 -pcmanfm-qt qterminal qtermwidget   \
     1.8 +pcmanfm-qt qterminal qtermwidget lxmenu-data   \
     1.9  gvfs gvfs-udisks2 openbox qlipper xorg-xprop xorg-xset"
    1.10  # still Qt4: obconf-qt lxqt-config-randr lxqt-appswitcher
    1.11  
    1.12 @@ -33,9 +33,9 @@
    1.13  	done
    1.14  
    1.15  	for a in lxpanel pcmanfm tazpkg-notify xcompmgr; do
    1.16 -		if [ -e "$1/etc/xdg/autostart/$a.desktop" -a \
    1.17 -			! grep -q LXQt "$1/etc/xdg/autostart/$a.desktop" ]; then
    1.18 -			sed '/NotShowIn=/s|;$|&LXQt;|' -i "$1/etc/xdg/autostart/$a.desktop"
    1.19 +		if [ -e "$1/etc/xdg/autostart/$a.desktop" ]; then
    1.20 +			grep -q LXQt "$1/etc/xdg/autostart/$a.desktop" ||
    1.21 +			sed -i '/NotShowIn=/ s|;$|&LXQt;|' "$1/etc/xdg/autostart/$a.desktop"
    1.22  		fi
    1.23  	done
    1.24  }