Ansgar pushed to branch master at Debian FTP Team / dak
Commits:
-
8f090ecf
by Ansgar at 2021-01-30T15:56:25+01:00
1 changed file:
Changes:
| ... | ... | @@ -101,10 +101,8 @@ out=$(ssh ${DBHOST} preparehashes) |
| 101 | 101 |
# And now we get us the file here, so we can easily lookup hashes.
|
| 102 | 102 |
# (the rsync uses the same ssh key and runs into the forced command.
|
| 103 | 103 |
# That just knows to send the file for rsync instead of preparing it.)
|
| 104 |
-if [[ ${out} == UPDATED ]]; then
|
|
| 105 |
- cd "${dbdir}"
|
|
| 106 |
- rsync ${DBHOST}:/srv/ftp-master.debian.org/home/hashes.gz ${HASHFILE}.gz
|
|
| 107 |
-fi
|
|
| 104 |
+cd "${dbdir}"
|
|
| 105 |
+rsync ${DBHOST}:/srv/ftp-master.debian.org/home/hashes.gz ${HASHFILE}.gz
|
|
| 108 | 106 |
|
| 109 | 107 |
cd "${PROCESSDIR}"
|
| 110 | 108 |
log "Processing ${PROCESSDIR}"
|