From 644c98b35f58582a73abf629eaad44edbfeffe41 Mon Sep 17 00:00:00 2001 From: santiyago <72850756+santiyagoburcart@users.noreply.github.com> Date: Wed, 4 Jun 2025 23:17:48 +0330 Subject: [PATCH] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index c285dccd..ae4131ab 100755 --- a/install.sh +++ b/install.sh @@ -230,7 +230,7 @@ main() { cd "$REPO_PATH" || { print_colored "$red" "Failed to cd to $REPO_PATH"; exit 1; } git fetch --all print_colored "$yellow" "Checking out and pulling latest 'main' branch..." - current_branch=\$(git rev-parse --abbrev-ref HEAD) + current_branch=$(git rev-parse --abbrev-ref HEAD) if [ "\$current_branch" != "main" ] && [ "\$current_branch" != "master" ]; then if git show-ref --verify --quiet refs/heads/main; then git checkout main