summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tdenetworkmanager
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2016-09-04 22:17:12 +0200
committerFrançois Andriot <[email protected]>2016-09-05 19:47:54 +0200
commit07d7faf51637503308a6c8d8780b7df8f9e6f094 (patch)
tree2b1e6193955e28450ce679f962107cd0740ba023 /redhat/applications/tdenetworkmanager
parentc0576233e9f39543895fd2092f8bfae4c56d47ef (diff)
downloadtde-packaging-07d7faf51637503308a6c8d8780b7df8f9e6f094.tar.gz
tde-packaging-07d7faf51637503308a6c8d8780b7df8f9e6f094.zip
RPM Packaging: remove lots of useless %post sections
Diffstat (limited to 'redhat/applications/tdenetworkmanager')
-rw-r--r--redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec17
1 files changed, 0 insertions, 17 deletions
diff --git a/redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec b/redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec
index 4037f9ca5..a08b5a24a 100644
--- a/redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec
+++ b/redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec
@@ -131,10 +131,6 @@ TDENetworkManager is a system tray applet for controlling network
connections on systems that use the NetworkManager daemon.
%post
-update-desktop-database %{tde_tdeappdir} > /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
@@ -162,13 +158,6 @@ fi
##########
-%postun
-update-desktop-database %{tde_tdeappdir} > /dev/null
-/sbin/ldconfig
-touch --no-create %{tde_datadir}/icons/hicolor || :
-gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
-
-
%package devel
Summary: Common data shared among the MySQL GUI Suites
Group: Development/Libraries
@@ -177,12 +166,6 @@ Requires: %{name} = %{version}-%{release}
%description devel
Development headers for tdenetworkmanager
-%post devel
-/sbin/ldconfig
-
-%postun devel
-/sbin/ldconfig
-
%files devel
%defattr(-,root,root,-)
%{tde_tdeincludedir}/*.h