diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2023-08-08 07:17:05 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2023-08-08 07:17:05 -0700 |
commit | f8c3f59f3d4181e06d0de6b2048879aef72606e7 (patch) | |
tree | 1c196e302935c6725f1e16a3a531f8a8523910d3 | |
parent | snapshots-create: drop max threads to reduce spam (diff) | |
download | mastermirror-scripts-f8c3f59f3d4181e06d0de6b2048879aef72606e7.tar.gz mastermirror-scripts-f8c3f59f3d4181e06d0de6b2048879aef72606e7.tar.bz2 mastermirror-scripts-f8c3f59f3d4181e06d0de6b2048879aef72606e7.zip |
snapshots-create.sh: hopefully make this script entirely quiet for normal runs
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-x | snapshots-create.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/snapshots-create.sh b/snapshots-create.sh index 9edbd36..06b9723 100755 --- a/snapshots-create.sh +++ b/snapshots-create.sh @@ -362,12 +362,13 @@ write_time_log "END SYMLINK $(date -u)" write_time_log "START CLEANUP $(date -u)" # Cleanup immediate stuff -rm -v -f \ +rm -f \ "${TEMP}"/orig \ "${TEMP}"/"${FILENAME%.bz2}"{.bz2,.xz,}{,.umd5sum} \ "${TEMP}"/"${FILENAME_NEW%.xz}"{.bz2,.xz,}{,.umd5sum} \ "${TEMP}"/"${EXCLUSION_LIST}" \ || exit $? + # Cleanup older stuff that might have leaked /usr/bin/find \ "${TEMP}" \ @@ -383,6 +384,7 @@ rm -v -f \ -name orig \ \) \ -delete + # Cleanup old snapshots /usr/bin/find \ "${UPLOAD}" \ |