From 635dcd7ee320b35cfca2d9a9d4008d9187a40a06 Mon Sep 17 00:00:00 2001 From: Sofia <253282481+sofia-riese@users.noreply.github.com> Date: Thu, 15 Jan 2026 18:22:35 +0800 Subject: [PATCH] perf(install): enhance execution efficiency --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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