[NetworkManager/f15/master] Fix upgrade trigger.
Bill Nottingham
notting at fedoraproject.org
Fri May 6 15:32:54 UTC 2011
commit 30aec21b0359748fd69aa56417e4562e2c5b1dd1
Author: Bill Nottingham <notting at redhat.com>
Date: Thu May 5 16:36:05 2011 -0400
Fix upgrade trigger.
/sbin/chkconfig, without a level, will redirect to systemd; this is not
what you want when you're checking its SysV status for migration.
NetworkManager.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/NetworkManager.spec b/NetworkManager.spec
index 05bdf4e..3df4e42 100644
--- a/NetworkManager.spec
+++ b/NetworkManager.spec
@@ -277,7 +277,7 @@ if [ $1 -ge 1 ] ; then
fi
%triggerun -- NetworkManager < 1:0.8.990
-if /sbin/chkconfig NetworkManager ; then
+if /sbin/chkconfig --level 5 NetworkManager ; then
/bin/systemctl enable NetworkManager.service >/dev/null 2>&1 || :
fi
More information about the scm-commits
mailing list