packages: system-config-firewall/system-config-firewall.spec - use pidof -x...
glen
glen at pld-linux.org
Sat Mar 3 12:12:49 CET 2012
Author: glen Date: Sat Mar 3 11:12:49 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- use pidof -x to catch procs with interpreter
---- Files affected:
packages/system-config-firewall:
system-config-firewall.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: packages/system-config-firewall/system-config-firewall.spec
diff -u packages/system-config-firewall/system-config-firewall.spec:1.6 packages/system-config-firewall/system-config-firewall.spec:1.7
--- packages/system-config-firewall/system-config-firewall.spec:1.6 Sat Mar 3 12:11:21 2012
+++ packages/system-config-firewall/system-config-firewall.spec Sat Mar 3 12:12:44 2012
@@ -2,7 +2,7 @@
Summary: A graphical interface for basic firewall setup
Name: system-config-firewall
Version: 1.2.29
-Release: 5.7
+Release: 6
License: GPL v2+
Group: Base
URL: http://fedorahosted.org/system-config-firewall
@@ -86,8 +86,8 @@
%post
if [ $1 -eq 2 ]; then
# kill the D-BUS mechanism on update
- # NOTE: pld killall does not kill procs with that long name and invoked by interpreter
- killall -TERM system-config-firewall-mechanism.py >/dev/null 2>&1 || :
+ pid=$(pidof -x system-config-firewall-mechanism.py)
+ [ "$pid" ] && kill -TERM $pid || :
fi
%update_icon_cache hicolor
@@ -148,6 +148,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2012/03/03 11:12:44 glen
+- use pidof -x to catch procs with interpreter
+
Revision 1.6 2012/03/03 11:11:21 glen
- more macros
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/system-config-firewall/system-config-firewall.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list