mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 12:42:34 +02:00
binary setup script fix
This commit is contained in:
parent
3505e8ff7e
commit
2657b1f726
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ BIN_URL="${REPO_URL}/releases/download/${VERSION}/go-proxy"
|
|||
SRC_URL="${REPO_URL}/archive/refs/tags/${VERSION}.tar.gz"
|
||||
APP_ROOT="/opt/go-proxy/${VERSION}"
|
||||
|
||||
if [ -z "$VERSION" || "$VERSION" = "latest" ]; then
|
||||
if [ -z "$VERSION" ] || [ "$VERSION" = "latest" ]; then
|
||||
VERSION_URL="${REPO_URL}/raw/main/version.txt"
|
||||
VERSION=$(wget -qO- "$VERSION_URL")
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue