Skip to content

Commit

Permalink
pypi_shadowmire: adapt to latest version
Browse files Browse the repository at this point in the history
Signed-off-by: Shengqi Chen <[email protected]>
  • Loading branch information
Harry-Chen committed Aug 8, 2024
1 parent 957d9f0 commit 3678756
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pypi_shadowmire.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -30,8 +30,10 @@ fi
(
cat << EOF
[options]
repo = ${REPO}
sync_packages = true
${DOWNLOAD_MIRROR}
use_pypi_index = true
exclude = [
".+-nightly(-|$)",
EOF
Expand Down

0 comments on commit 3678756

Please sign in to comment.