summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdeadmin
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2016-09-04 22:17:12 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2016-09-05 19:47:54 +0200
commit07d7faf51637503308a6c8d8780b7df8f9e6f094 (patch)
tree2b1e6193955e28450ce679f962107cd0740ba023 /redhat/main/tdeadmin
parentc0576233e9f39543895fd2092f8bfae4c56d47ef (diff)
downloadtde-packaging-07d7faf51637503308a6c8d8780b7df8f9e6f094.tar.gz
tde-packaging-07d7faf51637503308a6c8d8780b7df8f9e6f094.zip
RPM Packaging: remove lots of useless %post sections
Diffstat (limited to 'redhat/main/tdeadmin')
-rw-r--r--redhat/main/tdeadmin/tdeadmin-14.0.0.spec82
1 files changed, 0 insertions, 82 deletions
diff --git a/redhat/main/tdeadmin/tdeadmin-14.0.0.spec b/redhat/main/tdeadmin/tdeadmin-14.0.0.spec
index 956f776e6..668e97ccb 100644
--- a/redhat/main/tdeadmin/tdeadmin-14.0.0.spec
+++ b/redhat/main/tdeadmin/tdeadmin-14.0.0.spec
@@ -150,20 +150,6 @@ It is a graphical user interface to cron, the UNIX system scheduler.
%{tde_datadir}/icons/hicolor/*/apps/kcron.png
%{tde_tdedocdir}/HTML/en/kcron/
-%post -n trinity-kcron
-for icon_theme in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-kcron
-for icon_theme in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
##########
%package -n trinity-kdat
@@ -191,20 +177,6 @@ Main features are:
%{tde_datadir}/icons/locolor/*/apps/kdat.png
%{tde_tdedocdir}/HTML/en/kdat/
-%post -n trinity-kdat
-for icon_theme in hicolor locolor ; do
- touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-kdat
-for icon_theme in hicolor locolor ; do
- touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
##########
%package kfile-plugins
@@ -248,18 +220,6 @@ can be used to manage network devices and settings for each device.
%{tde_tdelibdir}/kcm_knetworkconfmodule.la
%{tde_tdedocdir}/HTML/en/knetworkconf/
-%post -n trinity-knetworkconf
-for icon_theme in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
-done
-
-%postun -n trinity-knetworkconf
-for icon_theme in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
-done
-
##########
%package -n trinity-kpackage
@@ -281,20 +241,6 @@ install/remove them.
%{tde_datadir}/icons/hicolor/*/apps/kpackage.png
%{tde_tdedocdir}/HTML/en/kpackage/
-%post -n trinity-kpackage
-for icon_theme in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-kpackage
-for icon_theme in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
##########
%package -n trinity-ksysv
@@ -318,20 +264,6 @@ drag and drop GUI.
%{tde_datadir}/mimelnk/text/x-ksysv-log.desktop
%{tde_tdedocdir}/HTML/en/ksysv/
-%post -n trinity-ksysv
-for icon_theme in crystalsvg hicolor ; do
- touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-ksysv
-for icon_theme in crystalsvg hicolor ; do
- touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
##########
%package -n trinity-kuser
@@ -369,20 +301,6 @@ A user/group administration tool for TDE.
%config(noreplace) /etc/security/console.apps/kuser
%endif
-%post -n trinity-kuser
-for icon_theme in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-kuser
-for icon_theme in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
##########
%if 0%{?with_lilo}