aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2020-05-09 10:59:24 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2020-05-09 10:59:24 -0700
commit5690171250e66aa2fc3d9018220fddc4080818bd (patch)
tree4895e1bb83d7b518d83aef6f6c2105689ad9855e
parentsync-distfiles: update db filenames (diff)
downloadmastermirror-scripts-5690171250e66aa2fc3d9018220fddc4080818bd.tar.gz
mastermirror-scripts-5690171250e66aa2fc3d9018220fddc4080818bd.tar.bz2
mastermirror-scripts-5690171250e66aa2fc3d9018220fddc4080818bd.zip
sync-distfiles: update doc20200509T175929Z
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xsync-distfiles.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/sync-distfiles.sh b/sync-distfiles.sh
index afd4949..0746365 100755
--- a/sync-distfiles.sh
+++ b/sync-distfiles.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2014-2019 Gentoo Authors; Distributed under the GPL v2
+# Copyright 2014-2020 Gentoo Authors; Distributed under the GPL v2
DATADIR="/data/gmirror-distfiles"
LOGDIR="${DATADIR}/log"
@@ -37,9 +37,8 @@ fi
# human readable time format, 1814400 seconds equals 3 weeks
DELAY=1814400
-# WHEN you convert away from Python2, the .gdbm files need to be converted for
-# the key encoding!
-python2 /usr/bin/emirrordist \
+# WARNING: This is sensitive to *DBM that is built with python
+/usr/bin/emirrordist \
--distfiles=${DATADIR}/distfiles/ \
--delete --jobs=10 --repo=gentoo \
--deletion-delay=${DELAY} \