X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fdinstall.variables;h=2587b2a8e760ac6c3f959b868950e6f447c998b1;hb=813801add25896afc4bd9839f5d1fe0c05eea465;hp=6f5c9531dbaf199d933ed33106e95beff4ec4a11;hpb=e65fe609400677be4ee3429e7251184b2fbc178e;p=dak.git diff --git a/config/debian/dinstall.variables b/config/debian/dinstall.variables index 6f5c9531..2587b2a8 100644 --- a/config/debian/dinstall.variables +++ b/config/debian/dinstall.variables @@ -3,7 +3,7 @@ DEBUG=0 # where do we want mails to go? For example log entries made with error() -if [ "x$(hostname -s)x" != "xfranckx" ]; then +if [[ ${HOSTNAME} != franck ]]; then # Not our ftpmaster host MAILTO=${MAILTO:-"root"} else @@ -19,6 +19,9 @@ DINSTALLSTART="${lockdir}/dinstallstart" # Marker for dinstall end DINSTALLEND="${lockdir}/dinstallend" +# Timestamp for start +DINSTALLBEGIN="$(date -u +"%a %b %d %T %Z %Y (%s)")" + # Lock cron.unchecked from doing work LOCK_ACCEPTED="$lockdir/unchecked.lock" @@ -49,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"