Add patches.
This commit is contained in:
parent
3af20f7a4a
commit
bdb5ac3085
11 changed files with 176 additions and 598 deletions
12
anacron-script.patch
Normal file
12
anacron-script.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
--- 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
|
||||
Reference in a new issue