packages: acpid/acpid.spec - rel 11 - don't exit from trigger
baggins
baggins at pld-linux.org
Wed Feb 8 12:36:25 CET 2012
Author: baggins Date: Wed Feb 8 11:36:25 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- rel 11
- don't exit from trigger
---- Files affected:
packages/acpid:
acpid.spec (1.85 -> 1.86)
---- Diffs:
================================================================
Index: packages/acpid/acpid.spec
diff -u packages/acpid/acpid.spec:1.85 packages/acpid/acpid.spec:1.86
--- packages/acpid/acpid.spec:1.85 Mon Feb 6 18:28:54 2012
+++ packages/acpid/acpid.spec Wed Feb 8 12:36:20 2012
@@ -13,7 +13,7 @@
Summary(pl.UTF-8): Demon zdarzeń ACPI
Name: acpid
Version: 2.0.10
-Release: 10
+Release: 11
License: GPL v2+
Group: Daemons
Source0: http://tedfelix.com/linux/%{name}-%{version}.tar.gz
@@ -130,11 +130,12 @@
__PROGRAM_ARGS=
[ "$NETLINK" = "yes" ] && __PROGRAM_ARGS="-n"
[ -n "$CLIENTMAX" ] && __PROGRAM_ARGS="$__PROGRAM_ARGS -C $CLIENTMAX"
- [ -z "$__PROGRAM_ARGS" ] && exit 0
- cp -f /etc/sysconfig/acpid{,.rpmsave}
- echo >>/etc/sysconfig/acpid
- echo "# Added by rpm trigger" >>/etc/sysconfig/acpid
- echo "PROGRAM_ARGS=\"$PROGRAM_ARGS $__PROGRAM_ARGS\"" >>/etc/sysconfig/acpid
+ if [ -n "$__PROGRAM_ARGS" ]; then
+ cp -f /etc/sysconfig/acpid{,.rpmsave}
+ echo >>/etc/sysconfig/acpid
+ echo "# Added by rpm trigger" >>/etc/sysconfig/acpid
+ echo "PROGRAM_ARGS=\"$PROGRAM_ARGS $__PROGRAM_ARGS\"" >>/etc/sysconfig/acpid
+ fi
fi
%systemd_trigger acpid.service
@@ -169,6 +170,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.86 2012/02/08 11:36:20 baggins
+- rel 11
+- don't exit from trigger
+
Revision 1.85 2012/02/06 17:28:54 arekm
- rel 10; missing dir
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/acpid/acpid.spec?r1=1.85&r2=1.86&f=u
More information about the pld-cvs-commit
mailing list