Merge pull request #1129 from sofia-riese/patch-1

perf(install): enhance execution efficiency
This commit is contained in:
juewuy
2026-01-15 18:34:35 +08:00
committed by GitHub

View File

@@ -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