pypi_shadowmire: fix repo path

Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
This commit is contained in:
Shengqi Chen 2024-08-08 15:05:09 +08:00
parent 7ba70f5c3a
commit b94fc106ba
No known key found for this signature in database
GPG Key ID: 6EE389C0F18AF774

View File

@ -12,14 +12,14 @@ CONF="/tmp/shadowmire.conf"
INIT=${INIT:-"0"}
SHADOWMIRE_UPSTREAM=${SHADOWMIRE_UPSTREAM:-"0"}
if [ ! -d "$TUNASYNC_WORKING_DIR" ]; then
mkdir -p $TUNASYNC_WORKING_DIR
export REPO="${TUNASYNC_WORKING_DIR}/web"
if [ ! -d "$REPO" ]; then
mkdir -p "$REPO"
INIT="1"
fi
export REPO="${TUNASYNC_WORKING_DIR}"
echo "Syncing to $TUNASYNC_WORKING_DIR"
echo "Syncing to $REPO"
DOWNLOAD_MIRROR=""
if [[ $TUNASYNC_UPSTREAM != $PYPI_MASTER ]]; then