]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/dinstall.variables
Move 3 update- scripts into dinstall.functions/tasks proper
[dak.git] / config / debian / dinstall.variables
index 0c1db1628131c2cc4f373752877a7e6359ac705d..092588198b28e82d0066bbc949f79edb986bf3f2 100644 (file)
@@ -2,9 +2,6 @@
 # usually we are not using debug logs. Set to 1 if you want them.
 DEBUG=0
 
-# our name
-PROGRAM="dinstall"
-
 # where do we want mails to go? For example log entries made with error()
 if [ "x$(hostname -s)x" != "xfranckx" ]; then
     # Not our ftpmaster host
@@ -22,8 +19,8 @@ DINSTALLSTART="${lockdir}/dinstallstart"
 # Marker for dinstall end
 DINSTALLEND="${lockdir}/dinstallend"
 
-# lock cron.unchecked (it immediately exits when this exists)
-LOCK_DAILY="$lockdir/daily.lock"
+# Timestamp for start
+DINSTALLBEGIN="$(date -u +"%a %b %d %T %Z %Y (%s)")"
 
 # Lock cron.unchecked from doing work
 LOCK_ACCEPTED="$lockdir/unchecked.lock"
@@ -55,3 +52,6 @@ for suite in testing unstable; do
     codename=${codename##* }
     extimportdists="${extimportdists} ${codename}"
 done
+
+# Common wget options
+wgetopts="-t2 -T20 -q -N --ca-directory=/etc/ssl/ca-debian"