summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tdepowersave/tdepowersave-14.0.0.spec
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/applications/tdepowersave/tdepowersave-14.0.0.spec
parentc0576233e9f39543895fd2092f8bfae4c56d47ef (diff)
downloadtde-packaging-07d7faf51637503308a6c8d8780b7df8f9e6f094.tar.gz
tde-packaging-07d7faf51637503308a6c8d8780b7df8f9e6f094.zip
RPM Packaging: remove lots of useless %post sections
Diffstat (limited to 'redhat/applications/tdepowersave/tdepowersave-14.0.0.spec')
-rw-r--r--redhat/applications/tdepowersave/tdepowersave-14.0.0.spec10
1 files changed, 0 insertions, 10 deletions
diff --git a/redhat/applications/tdepowersave/tdepowersave-14.0.0.spec b/redhat/applications/tdepowersave/tdepowersave-14.0.0.spec
index f524e1c2a..34bb903b6 100644
--- a/redhat/applications/tdepowersave/tdepowersave-14.0.0.spec
+++ b/redhat/applications/tdepowersave/tdepowersave-14.0.0.spec
@@ -212,11 +212,6 @@ export PATH="%{tde_bindir}:${PATH}"
%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 || :
-
# Disables automatic poweroff, make sure we match both "kpowersave" and "tdepowersave"
if [ $1 = 1 ] && [ -r /etc/acpi/actions/power.sh ]; then
%__cp -f "/etc/acpi/actions/power.sh" "/etc/acpi/actions/power.sh.tdepowersavebackup"
@@ -224,11 +219,6 @@ if [ $1 = 1 ] && [ -r /etc/acpi/actions/power.sh ]; then
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 || :
-
if [ $1 = 0 ] && [ -r "/etc/acpi/actions/power.sh.tdepowersavebackup" ]; then
%__mv -f "/etc/acpi/actions/power.sh.tdepowersavebackup" "/etc/acpi/actions/power.sh"
fi