12 lines
387 B
Diff
12 lines
387 B
Diff
--- anacron-2.3/debian/0anacron.daily.script 2007-08-09 14:08:36.000000000 +0200
|
|
+++ anacron-2.3/debian/0anacron.daily 2007-08-09 14:27:22.000000000 +0200
|
|
@@ -9,4 +9,8 @@
|
|
# _before_ all other scripts.
|
|
|
|
test -x /usr/sbin/anacron || exit 0
|
|
-anacron -u cron.daily
|
|
+AUX1=`cat /var/spool/anacron/cron.daily`
|
|
+AUX2=`date +%Y%m%d`
|
|
+if [ $AUX1 != $AUX2 ]; then
|
|
+ anacron -u cron.daily
|
|
+fi
|