From 48fed04b81a59c4610dbbfc7db09ec0eec8ecbe9 Mon Sep 17 00:00:00 2001 From: "David Kaspar [Dee'Kej]" Date: Mon, 12 Mar 2018 14:07:43 +0100 Subject: specfile: remove the systemctl call in the %postun phase https://bugzilla.redhat.com/show_bug.cgi?id=1512688 --- initscripts.spec | 7 ------- 1 file changed, 7 deletions(-) diff --git a/initscripts.spec b/initscripts.spec index 3c983024..bc99e72f 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -72,13 +72,6 @@ fi %postun %systemd_postun fedora-import-state.service fedora-loadmodules.service fedora-readonly.service -# This should be removed in Rawhide for Fedora 29: -%triggerun -- initscripts < 9.78 -if [ $1 -gt 1 ]; then - systemctl enable fedora-import-state.service fedora-readonly.service &> /dev/null || : - echo -e "\nUPGRADE: Automatically re-enabling default systemd units: fedora-import-state.service fedora-readonly.service\n" || : -fi - %files -f %{name}.lang %defattr(-,root,root) %dir %{_sysconfdir}/sysconfig/network-scripts -- cgit v1.2.1