We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8a56cf commit 5b47ef5Copy full SHA for 5b47ef5
x-ui-pro.sh
@@ -266,7 +266,7 @@ fi
266
if ! systemctl is-active --quiet x-ui; then
267
[[ "$PNLNUM" =~ ^[0-2]+$ ]] || PNLNUM=1
268
VERSION=$(echo "$VERSION" | tr -d '[:space:]')
269
- if [[ -z "$VERSION" || "$VERSION" != *.* || "$VERSION" = "last" ]]; then VERSION="master"
+ if [[ -z "$VERSION" || "$VERSION" != *.* ]]; then VERSION="master"
270
else [[ $PNLNUM = "1" ]] && VERSION="v${VERSION#v}" || VERSION="${VERSION#v}" ; fi
271
PANEL=( "https://raw.githubusercontent.com/alireza0/x-ui/${VERSION}/install.sh"
272
"https://raw.githubusercontent.com/mhsanaei/3x-ui/${VERSION}/install.sh"
0 commit comments