Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
qscript prefer static ver
Browse files Browse the repository at this point in the history
  • Loading branch information
boypt committed Jul 19, 2021
1 parent 623bee9 commit 58f4516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/quickinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if [[ x${NEEDAUTH^^} == x"Y" ]]; then
fi

systemctl stop cloud-torrent || true
BINURL=$(wget -qO- $GHAPI | grep browser_download_url | grep "$BINTAG" | cut -d '"' -f 4 | head -n1|| true)
BINURL=$(wget -qO- $GHAPI | grep browser_download_url | grep "$BINTAG" | grep static | cut -d '"' -f 4 || true)
if [[ -z $BINURL ]]; then
echo "It's seems that $VERSION is not a valid version, check release page:"
echo "https://github.com/boypt/simple-torrent/releases"
Expand Down

0 comments on commit 58f4516

Please sign in to comment.