mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-19 11:42:43 +00:00
pypi_shadowmire: fix repo path
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
This commit is contained in:
parent
7ba70f5c3a
commit
b94fc106ba
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user