Joerg Jaspert pushed to branch master at Debian FTP Team / dak
Commits:
-
0fe9f609
by Joerg Jaspert at 2018-04-08T10:45:53+02:00
-
0f1e75ec
by Ansgar Burchardt at 2018-04-08T11:26:44+02:00
-
934a8a50
by Joerg Jaspert at 2018-04-08T11:56:46+02:00
-
3f3601b2
by Joerg Jaspert at 2018-04-08T12:04:14+02:00
-
20eaf4aa
by Joerg Jaspert at 2018-04-08T12:07:48+02:00
-
4ea35e73
by Joerg Jaspert at 2018-04-08T12:13:21+02:00
-
4aa05acc
by Joerg Jaspert at 2018-04-08T12:20:28+02:00
-
62f5cd08
by Joerg Jaspert at 2018-04-08T12:24:08+02:00
-
25dbdcee
by Joerg Jaspert at 2018-04-08T12:26:17+02:00
-
90107682
by Joerg Jaspert at 2018-04-08T12:29:24+02:00
-
bf9ee0fb
by Joerg Jaspert at 2018-04-08T12:41:00+02:00
4 changed files:
Changes:
1 |
-# locations used by many scripts
|
|
1 |
+# -*- mode:sh -*-
|
|
2 | 2 |
|
3 | 3 |
declare -r functionname=security-master.debian.org
|
4 | 4 |
declare -r confpart=debian-security
|
... | ... | @@ -12,10 +12,10 @@ declare -r masterdir=${base}/dak/ |
12 | 12 |
export configdir=${configdir:-${masterdir}/config/${confpart}/}
|
13 | 13 |
|
14 | 14 |
# And the following types of cronscripts exists
|
15 |
-declare -r POSSIBLEARGS='+(unchecked-dinstall|hourly|mirror)'
|
|
15 |
+declare -r POSSIBLEARGS='+(unchecked-dinstall|hourly|mirror|deploy)'
|
|
16 | 16 |
|
17 | 17 |
# And get all the tons of other variables
|
18 |
-source ${masterdir}/config/common/variables
|
|
18 |
+source ${configdir}/../common/variables
|
|
19 | 19 |
|
20 | 20 |
# Stuff for old cron scripts not yet switched to new style
|
21 | 21 |
declare -r uploadhost=ftp-master.debian.org
|
... | ... | @@ -15,4 +15,4 @@ export configdir=${configdir:-${masterdir}/config/${confpart}/} |
15 | 15 |
declare -lr POSSIBLEARGS='+(unchecked|dinstall|hourly|daily|weekly|monthly|yearly|mirror|deploy)'
|
16 | 16 |
|
17 | 17 |
# And get all the tons of other variables
|
18 |
-source ${masterdir}/config/common/variables
|
|
18 |
+source ${configdir}/../common/variables
|
1 |
-../debian/vars
|
|
\ No newline at end of file |
1 |
+# -*- mode:sh -*-
|
|
2 |
+ |
|
3 |
+if [[ -d /srv/security-master.debian.org ]]; then
|
|
4 |
+ functionname=security-master.debian.org
|
|
5 |
+ confpart=debian-security
|
|
6 |
+else
|
|
7 |
+ functionname=ftp-master.debian.org
|
|
8 |
+ confpart=debian
|
|
9 |
+fi
|
|
10 |
+ |
|
11 |
+base=/srv/${functionname}
|
|
12 |
+masterdir=${base}/dak/
|
|
13 |
+export configdir=${configdir:-${masterdir}/config/${confpart}/}
|
|
14 |
+ |
|
15 |
+# And get all the tons of other variables
|
|
16 |
+source ${configdir}/../${confpart}/vars
|