Joerg Jaspert pushed to branch deploy at Debian FTP Team / dak
Commits:
-
6ce5dbe8
by Joerg Jaspert at 2018-06-23T10:25:10+02:00
-
434e11dc
by Joerg Jaspert at 2018-06-23T10:26:07+02:00
1 changed file:
Changes:
... | ... | @@ -128,11 +128,19 @@ confirm |
128 | 128 |
|
129 | 129 |
log "Preparing"
|
130 | 130 |
pg_timestamp pre_${suite}_${newrev}
|
131 |
-dak control-suite -l ${pusuite} > ${pusuite}.list &
|
|
132 |
-dak control-suite -l ${suite} > ${suite}.list &
|
|
131 |
+if [[ ! -f ${pusuite}.list ]]; then
|
|
132 |
+ dak control-suite -l ${pusuite} > ${pusuite}.list &
|
|
133 |
+fi
|
|
134 |
+if [[ ! -f ${suite}.list ]]; then
|
|
135 |
+ dak control-suite -l ${suite} > ${suite}.list &
|
|
136 |
+fi
|
|
133 | 137 |
if [[ ${suitename} != jessie ]]; then
|
134 |
- dak control-suite -l ${suite}-debug > ${suite}-debug.list &
|
|
135 |
- dak control-suite -l ${pusuite}-debug > ${pusuite}-debug.list &
|
|
138 |
+ if [[ ! -f ${suite}-debug.list ]]; then
|
|
139 |
+ dak control-suite -l ${suite}-debug > ${suite}-debug.list &
|
|
140 |
+ fi
|
|
141 |
+ if [[ ! -f ${pusuite}-debug.list ]]; then
|
|
142 |
+ dak control-suite -l ${pusuite}-debug > ${pusuite}-debug.list &
|
|
143 |
+ fi
|
|
136 | 144 |
fi
|
137 | 145 |
wait
|
138 | 146 |
|
... | ... | @@ -159,7 +167,12 @@ if [[ -n ${skiplist} ]]; then |
159 | 167 |
fi
|
160 | 168 |
|
161 | 169 |
log "Merging ${pusuite} into ${suite}"
|
162 |
-dak control-suite --add ${suite} < ${pusuite}.list
|
|
170 |
+if dak control-suite --add ${suite} < ${pusuite}.list; then
|
|
171 |
+ log "Done"
|
|
172 |
+else
|
|
173 |
+ log "Please check problem and hit enter when i can continue"
|
|
174 |
+ read
|
|
175 |
+fi
|
|
163 | 176 |
if [[ ${suitename} != jessie ]]; then
|
164 | 177 |
dak control-suite --add ${suite}-debug < ${pusuite}-debug.list
|
165 | 178 |
fi
|