wok diff ntpclient/receipt @ rev 2455

py3k pycairo pygobject pygtk python-lxml python: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 14 07:28:53 2009 +0000 (2009-03-14)
parents 10710b8535bc
children bcb2999e13f6
line diff
     1.1 --- a/ntpclient/receipt	Thu Jul 24 12:27:06 2008 +0000
     1.2 +++ b/ntpclient/receipt	Sat Mar 14 07:28:53 2009 +0000
     1.3 @@ -42,7 +42,10 @@
     1.4      		srv="fr.pool.ntp.org"
     1.5              echo ""
     1.6              echo -n "Setting up crontab for ntpclient..."
     1.7 -            echo "0 0 * * * $root/usr/bin/ntpclient -s -h $srv" | crontab - -u root
     1.8 +            crontab - -u root << EOT
     1.9 +$(crontab -l 2> /dev/null)
    1.10 +0 0 * * * $root/usr/bin/ntpclient -s -h $srv
    1.11 +EOT
    1.12              status
    1.13          else
    1.14          	echo "Don't forget to run ntpclient -s -h <NTP Server>"