mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-12-25 16:32:47 +00:00
shadowmire: use script dir as default path
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
This commit is contained in:
parent
657f35a527
commit
15a5d17689
|
|
@ -1,8 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
SHADOWMIRE=${SHADOWMIRE:-"/home/scripts/shadowmire.py"}
|
_here=`dirname $(realpath $0)`
|
||||||
|
|
||||||
|
SHADOWMIRE=${SHADOWMIRE:-"${_here}/shadowmire.py"}
|
||||||
PYPI_MASTER="https://pypi.org"
|
PYPI_MASTER="https://pypi.org"
|
||||||
|
|
||||||
TUNASYNC_UPSTREAM=${TUNASYNC_UPSTREAM_URL:-$PYPI_MASTER}
|
TUNASYNC_UPSTREAM=${TUNASYNC_UPSTREAM_URL:-$PYPI_MASTER}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue