mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +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"}
|
INIT=${INIT:-"0"}
|
||||||
SHADOWMIRE_UPSTREAM=${SHADOWMIRE_UPSTREAM:-"0"}
|
SHADOWMIRE_UPSTREAM=${SHADOWMIRE_UPSTREAM:-"0"}
|
||||||
|
|
||||||
if [ ! -d "$TUNASYNC_WORKING_DIR" ]; then
|
export REPO="${TUNASYNC_WORKING_DIR}/web"
|
||||||
mkdir -p $TUNASYNC_WORKING_DIR
|
|
||||||
|
if [ ! -d "$REPO" ]; then
|
||||||
|
mkdir -p "$REPO"
|
||||||
INIT="1"
|
INIT="1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export REPO="${TUNASYNC_WORKING_DIR}"
|
echo "Syncing to $REPO"
|
||||||
|
|
||||||
echo "Syncing to $TUNASYNC_WORKING_DIR"
|
|
||||||
|
|
||||||
DOWNLOAD_MIRROR=""
|
DOWNLOAD_MIRROR=""
|
||||||
if [[ $TUNASYNC_UPSTREAM != $PYPI_MASTER ]]; then
|
if [[ $TUNASYNC_UPSTREAM != $PYPI_MASTER ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user