Skip to content
Commits on Source (11)
# locations used by many scripts
# -*- mode:sh -*-
declare -r functionname=security-master.debian.org
declare -r confpart=debian-security
......@@ -12,10 +12,10 @@ declare -r masterdir=${base}/dak/
export configdir=${configdir:-${masterdir}/config/${confpart}/}
# And the following types of cronscripts exists
declare -r POSSIBLEARGS='+(unchecked-dinstall|hourly|mirror)'
declare -r POSSIBLEARGS='+(unchecked-dinstall|hourly|mirror|deploy)'
# And get all the tons of other variables
source ${masterdir}/config/common/variables
source ${configdir}/../common/variables
# Stuff for old cron scripts not yet switched to new style
declare -r uploadhost=ftp-master.debian.org
......
......@@ -15,4 +15,4 @@ export configdir=${configdir:-${masterdir}/config/${confpart}/}
declare -lr POSSIBLEARGS='+(unchecked|dinstall|hourly|daily|weekly|monthly|yearly|mirror|deploy)'
# And get all the tons of other variables
source ${masterdir}/config/common/variables
source ${configdir}/../common/variables
../debian/vars
\ No newline at end of file
# -*- mode:sh -*-
if [[ -d /srv/security-master.debian.org ]]; then
functionname=security-master.debian.org
confpart=debian-security
else
functionname=ftp-master.debian.org
confpart=debian
fi
base=/srv/${functionname}
masterdir=${base}/dak/
export configdir=${configdir:-${masterdir}/config/${confpart}/}
# And get all the tons of other variables
source ${configdir}/../${confpart}/vars