mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-19 11:42:43 +00:00
pypi_shadowmire: adapt to latest version
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
This commit is contained in:
parent
957d9f0efd
commit
367875671a
@ -12,7 +12,7 @@ CONF="/tmp/shadowmire.conf"
|
||||
INIT=${INIT:-"0"}
|
||||
SHADOWMIRE_UPSTREAM=${SHADOWMIRE_UPSTREAM:-"0"}
|
||||
|
||||
export REPO="${TUNASYNC_WORKING_DIR}/web"
|
||||
REPO="${TUNASYNC_WORKING_DIR}/web"
|
||||
|
||||
if [ ! -d "$REPO" ]; then
|
||||
mkdir -p "$REPO"
|
||||
@ -30,8 +30,10 @@ fi
|
||||
(
|
||||
cat << EOF
|
||||
[options]
|
||||
repo = ${REPO}
|
||||
sync_packages = true
|
||||
${DOWNLOAD_MIRROR}
|
||||
use_pypi_index = true
|
||||
exclude = [
|
||||
".+-nightly(-|$)",
|
||||
EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user