wok-6.x diff ntpclient/receipt @ rev 8586

Fix: remove src definition from libdaq-dev & rework files repartition between libdaq/libdaq-dev
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Feb 14 03:36:07 2011 +0100 (2011-02-14)
parents bcb2999e13f6
children a1c1d35d9f92
line diff
     1.1 --- a/ntpclient/receipt	Tue May 19 15:28:24 2009 +0200
     1.2 +++ b/ntpclient/receipt	Mon Feb 14 03:36:07 2011 +0100
     1.3 @@ -45,9 +45,10 @@
     1.4      		srv="fr.pool.ntp.org"
     1.5              echo ""
     1.6              echo -n "Setting up crontab for ntpclient..."
     1.7 -            crontab - -u root << EOT
     1.8 +            crontab -l  2> /dev/null | grep -q '/usr/bin/ntpclient -s -h' || 
     1.9 +	    crontab - -u root << EOT
    1.10  $(crontab -l 2> /dev/null)
    1.11 -0 0 * * * $root/usr/bin/ntpclient -s -h $srv
    1.12 +0 0 * * * /usr/bin/ntpclient -s -h $srv
    1.13  EOT
    1.14              status
    1.15          else