SOURCES: netmrg-cron - remove bash depenency; simplify

glen glen at pld-linux.org
Wed Jul 27 11:58:08 CEST 2005


Author: glen                         Date: Wed Jul 27 09:58:08 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- remove bash depenency; simplify

---- Files affected:
SOURCES:
   netmrg-cron (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/netmrg-cron
diff -u SOURCES/netmrg-cron:1.2 SOURCES/netmrg-cron:1.3
--- SOURCES/netmrg-cron:1.2	Wed Jul 27 10:59:45 2005
+++ SOURCES/netmrg-cron	Wed Jul 27 11:58:02 2005
@@ -1 +1,2 @@
-*/5 * * * *	http	bash -c "if [ ! -f /var/log/netmrg/lockfile ]; then /usr/bin/netmrg-gatherer; fi"
+# vim:syn=crontab
+*/5 * * * *	http	[ -f /var/log/netmrg/lockfile ] && /usr/bin/netmrg-gatherer
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/netmrg-cron?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list