[arch-commits] Commit in gconf/trunk (gconf.install)

Jan de Groot jgc at nymeria.archlinux.org
Wed Jul 10 15:21:54 UTC 2013


    Date: Wednesday, July 10, 2013 @ 17:21:54
  Author: jgc
Revision: 189888

Use pkill from procps-ng instead of pidof/kill (FS#34301)

Modified:
  gconf/trunk/gconf.install

---------------+
 gconf.install |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Modified: gconf.install
===================================================================
--- gconf.install	2013-07-10 15:18:16 UTC (rev 189887)
+++ gconf.install	2013-07-10 15:21:54 UTC (rev 189888)
@@ -9,10 +9,7 @@
   chmod 755 etc/gconf/gconf.xml.system
   usr/bin/gio-querymodules usr/lib/gio/modules
 
-  PID=`pidof gconfd-2`
-  if [ ! -z "${PID}" ]; then
-    kill ${PID}
-  fi
+  pkill /usr/lib/GConf/gconfd-2 || return 0
 }
 
 post_remove() {




More information about the arch-commits mailing list