diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-05-12 21:01:49 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-05-12 21:01:49 +0200 |
commit | d7d223089e5b7d84834b970ef6c9cbcb212195ba (patch) | |
tree | a6c4755a1648722fa62de541eafc416b5e30de11 /redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec | |
parent | 831abc8987e241e38503fa2ca00b7eadaeb310d1 (diff) | |
download | tde-packaging-d7d223089e5b7d84834b970ef6c9cbcb212195ba.tar.gz tde-packaging-d7d223089e5b7d84834b970ef6c9cbcb212195ba.zip |
RPM packaging: update R14 packages
Diffstat (limited to 'redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec')
-rw-r--r-- | redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec b/redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec index 5ca9c119a..a18b76755 100644 --- a/redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec +++ b/redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec @@ -141,6 +141,12 @@ update-desktop-database %{tde_appdir} > /dev/null /sbin/ldconfig touch --no-create %{tde_datadir}/icons/hicolor || : gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +# Prevent autostart of 'nm-applet', if installed. +if [ -r "/etc/xdg/autostart/nm-applet.desktop" ]; then + if ! grep -qw "TDE" "/etc/xdg/autostart/nm-applet.desktop" ; then + sed -i "/etc/xdg/autostart/nm-applet.desktop" -e "s|\(NotShowIn=.*\)|\1TDE;|" + fi +fi %postun update-desktop-database %{tde_appdir} > /dev/null |