packages: nut/nut.spec - fixed triggers
baggins
baggins at pld-linux.org
Sun Jun 24 00:20:07 CEST 2012
Author: baggins Date: Sat Jun 23 22:20:07 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- fixed triggers
---- Files affected:
packages/nut:
nut.spec (1.178 -> 1.179)
---- Diffs:
================================================================
Index: packages/nut/nut.spec
diff -u packages/nut/nut.spec:1.178 packages/nut/nut.spec:1.179
--- packages/nut/nut.spec:1.178 Sun Jun 24 00:14:57 2012
+++ packages/nut/nut.spec Sun Jun 24 00:20:02 2012
@@ -270,8 +270,7 @@
%triggerpostun -- nut < 2.6.4-2
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ ${RPM_ENABLE_SYSTEMD_SERVICE:-yes} = no ] && exit 0
-/sbin/chkconfig --list ups 2>/dev/null | grep -qsv "[0-6]:on" || exit 0
-export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
+/sbin/chkconfig --list ups 2>/dev/null | grep -qsv "[0-6]:on" && exit 0
%systemd_service_enable nut-driver.service nut-server.service
%systemd_service mask ups.service
@@ -312,8 +311,7 @@
%triggerpostun client -- nut-client < 2.6.4-2
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ ${RPM_ENABLE_SYSTEMD_SERVICE:-yes} = no ] && exit 0
-/sbin/chkconfig --list upsmon 2>/dev/null | grep -qsv "[0-6]:on" || exit 0
-export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
+/sbin/chkconfig --list upsmon 2>/dev/null | grep -qsv "[0-6]:on" && exit 0
%systemd_service_enable nut-monitor.service
%systemd_service mask upsmon.service
@@ -507,6 +505,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.179 2012/06/23 22:20:02 baggins
+- fixed triggers
+
Revision 1.178 2012/06/23 22:14:57 baggins
- rel 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/nut/nut.spec?r1=1.178&r2=1.179
More information about the pld-cvs-commit
mailing list