diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2016-10-31 20:20:31 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2016-10-31 20:20:31 -0700 |
commit | cb34f41d446bc2d1e9971080e40390e16e8ffec4 (patch) | |
tree | 1089b72db08f8839764361c17c19adc7adc35c7f /sync-distfiles.sh | |
parent | sync-distfiles: emirrordist has a py2 lockin for now, but convert it to gdbm ... (diff) | |
download | mastermirror-scripts-cb34f41d446bc2d1e9971080e40390e16e8ffec4.tar.gz mastermirror-scripts-cb34f41d446bc2d1e9971080e40390e16e8ffec4.tar.bz2 mastermirror-scripts-cb34f41d446bc2d1e9971080e40390e16e8ffec4.zip |
Add distfile recycling.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'sync-distfiles.sh')
-rwxr-xr-x | sync-distfiles.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sync-distfiles.sh b/sync-distfiles.sh index da8b1f0..9697f07 100755 --- a/sync-distfiles.sh +++ b/sync-distfiles.sh @@ -48,6 +48,8 @@ python2 /usr/bin/emirrordist \ --scheduled-deletion-log=${LOGDIR}/deletion.log \ --deletion-db=${LOGDIR}/deletion-db.gdbm \ --distfiles-db=${LOGDIR}/distfile-db.gdbm \ + --recycle-db=${LOGDIR}/recycle-db.gdbm \ + --recycle-dir=${DATADIR}/distfiles-archive/ \ --temp-dir=${DATADIR}/tmp/ \ --whitelist-from=${DATADIR}/tmp/whitelist-master.txt \ --distfiles-local=${DATADIR}/distfiles-local \ |