diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-10-17 16:43:09 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-10-17 16:43:09 +0200 |
commit | 702f9d3fa6db24979daf1208d4e61823f6601b96 (patch) | |
tree | bc9883416828a3b79145315f9bc2765e7ca85ba1 | |
parent | sync-distfiles: Start propagating new mirror layout (diff) | |
download | mastermirror-scripts-702f9d3fa6db24979daf1208d4e61823f6601b96.tar.gz mastermirror-scripts-702f9d3fa6db24979daf1208d4e61823f6601b96.tar.bz2 mastermirror-scripts-702f9d3fa6db24979daf1208d4e61823f6601b96.zip |
Create a INDEX of distfiles20191017T144330Z
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rwxr-xr-x | sync-distfiles.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sync-distfiles.sh b/sync-distfiles.sh index 41337cb..302fb92 100755 --- a/sync-distfiles.sh +++ b/sync-distfiles.sh @@ -57,4 +57,8 @@ python2 /usr/bin/emirrordist \ --layout-conf=/usr/local/bin/mastermirror/layout.conf.new \ --mirror +( cd ${DATADIR}/distfiles && find [0-9a-f][0-9a-f] -mindepth 1 ) | + sort > ${DATADIR}/INDEX.tmp && + mv ${DATADIR}/INDEX.tmp ${DATADIR}/distfiles/INDEX + /bin/date -u '+%s' > ${DATADIR}/distfiles/timestamp.mirmon |