Skip to content

Commit 5b47ef5

Browse files
authored
Update x-ui-pro.sh
1 parent a8a56cf commit 5b47ef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-ui-pro.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ fi
266266
if ! systemctl is-active --quiet x-ui; then
267267
[[ "$PNLNUM" =~ ^[0-2]+$ ]] || PNLNUM=1
268268
VERSION=$(echo "$VERSION" | tr -d '[:space:]')
269-
if [[ -z "$VERSION" || "$VERSION" != *.* || "$VERSION" = "last" ]]; then VERSION="master"
269+
if [[ -z "$VERSION" || "$VERSION" != *.* ]]; then VERSION="master"
270270
else [[ $PNLNUM = "1" ]] && VERSION="v${VERSION#v}" || VERSION="${VERSION#v}" ; fi
271271
PANEL=( "https://raw.githubusercontent.com/alireza0/x-ui/${VERSION}/install.sh"
272272
"https://raw.githubusercontent.com/mhsanaei/3x-ui/${VERSION}/install.sh"

0 commit comments

Comments
 (0)