From ce9d8df12b34b6e1385958367874c730a1ac455b Mon Sep 17 00:00:00 2001 From: Zenithal Date: Wed, 31 Aug 2022 22:17:41 +0800 Subject: [PATCH] pypi: add storage-backend In bandersnatch 5.3.0 it is mandatory otherwise configparser.NoOptionError: No option 'storage-backend' in section: 'mirror' --- pypi.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pypi.sh b/pypi.sh index 36a934a..a703185 100755 --- a/pypi.sh +++ b/pypi.sh @@ -24,6 +24,7 @@ if [[ $INIT == "0" ]]; then cat << EOF [mirror] directory = ${TUNASYNC_WORKING_DIR} +storage-backend = filesystem master = ${PYPI_MASTER} ${DOWNLOAD_MIRROR} json = true