diff --git a/install.sh b/install.sh index 74989653..5af7a981 100644 --- a/install.sh +++ b/install.sh @@ -667,7 +667,7 @@ if [ "$USER" != "root" ] && [ -z "$systype" ]; then done fi -if [ -n "$(echo "$url" | grep master)" ]; then +if echo "$url" | grep -q 'master'; then setversion fi