summaryrefslogtreecommitdiffstats
path: root/abrt.spec.in
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2011-05-13 18:29:33 +0200
committerKarel Klic <kklic@redhat.com>2011-05-13 18:29:56 +0200
commit15473d2a5ecfd20bd8cc3982e703fcedd51289f8 (patch)
treeb6acab02d1e418c6ea529e7434232d2eea1f6063 /abrt.spec.in
parent1912a7c3980713ccc81e9fd2895873e29dc519a2 (diff)
downloadabrt-15473d2a5ecfd20bd8cc3982e703fcedd51289f8.zip
abrt-15473d2a5ecfd20bd8cc3982e703fcedd51289f8.tar.gz
abrt-15473d2a5ecfd20bd8cc3982e703fcedd51289f8.tar.xz
specfile: only condrestarts in %posttrans, 1.x->2.x transition in F15 has been finished
rhbz#704415 - abrt-dump-oops breaks live media creation Author: Bill Nottingham <notting@redhat.com>
Diffstat (limited to 'abrt.spec.in')
-rw-r--r--abrt.spec.in31
1 files changed, 3 insertions, 28 deletions
diff --git a/abrt.spec.in b/abrt.spec.in
index efe47ab..f125a9b 100644
--- a/abrt.spec.in
+++ b/abrt.spec.in
@@ -405,38 +405,13 @@ if [ -x %{_bindir}/gtk-update-icon-cache ]; 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 || :
%files -f %{name}.lang
%defattr(-,root,root,-)