summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abrt.spec.in30
1 files changed, 3 insertions, 27 deletions
diff --git a/abrt.spec.in b/abrt.spec.in
index c2519021..cd42ddfe 100644
--- a/abrt.spec.in
+++ b/abrt.spec.in
@@ -406,37 +406,13 @@ if [ $1 -eq 0 ] ; then
fi
%posttrans
-if [ "$1" -eq "0" ]; then
- service abrtd condrestart >/dev/null 2>&1 || :
-fi
-#systemd
-%if %{?with_systemd}
-if [ "$1" -eq "0" ]; then
- /bin/systemctl try-restart abrtd.service >/dev/null 2>&1 || :
-fi
-%endif
+service abrtd condrestart >/dev/null 2>&1 || :
%posttrans addon-ccpp
-if [ "$1" -eq "0" ]; then
- service abrt-ccpp condrestart >/dev/null 2>&1 || :
-fi
-#systemd
-%if %{?with_systemd}
-if [ "$1" -eq "0" ]; then
- /bin/systemctl try-restart abrt-ccpp.service >/dev/null 2>&1 || :
-fi
-%endif
+service abrt-ccpp condrestart >/dev/null 2>&1 || :
%posttrans addon-kerneloops
-if [ "$1" -eq "0" ]; then
- service abrt-oops condrestart >/dev/null 2>&1 || :
-fi
-#systemd
-%if %{?with_systemd}
-if [ "$1" -eq "0" ]; then
- /bin/systemctl try-restart abrt-oops.service >/dev/null 2>&1 || :
-fi
-%endif
+service abrt-oops condrestart >/dev/null 2>&1 || :
%posttrans gui
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :