mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-06-30 23:12:45 +00:00
pypi: strip / in the end of upstream URL
This commit is contained in:
parent
979a632f16
commit
e1c90a2e58
1
pypi.sh
1
pypi.sh
@ -3,6 +3,7 @@ set -e
|
|||||||
BANDERSNATCH=${BANDERSNATCH:-"/usr/local/bin/bandersnatch"}
|
BANDERSNATCH=${BANDERSNATCH:-"/usr/local/bin/bandersnatch"}
|
||||||
PYPI_MASTER="https://pypi.org"
|
PYPI_MASTER="https://pypi.org"
|
||||||
TUNASYNC_UPSTREAM=${TUNASYNC_UPSTREAM_URL:-$PYPI_MASTER}
|
TUNASYNC_UPSTREAM=${TUNASYNC_UPSTREAM_URL:-$PYPI_MASTER}
|
||||||
|
TUNASYNC_UPSTREAM=${TUNASYNC_UPSTREAM%/}
|
||||||
CONF="/tmp/bandersnatch.conf"
|
CONF="/tmp/bandersnatch.conf"
|
||||||
INIT=${INIT:-"0"}
|
INIT=${INIT:-"0"}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user