From 12fcc8b5eacede65d954da31468a017ac58983e6 Mon Sep 17 00:00:00 2001 From: Frederick Alvarez Flores Date: Fri, 16 May 2025 18:34:35 -0700 Subject: [PATCH] fix install.sh fix installation script --- install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 577d0a1..8e944a8 100755 --- a/install.sh +++ b/install.sh @@ -6,7 +6,7 @@ WORKDIR="$(pwd)" ARCH="$(uname -m)" case "$ARCH" in - x86_64) ARCH_ID="x86_64-linux" ;; + x86_64) ARCH_ID="x86_64-musl" ;; aarch64) ARCH_ID="aarch64-linux" ;; *) echo "Unsupported architecture: $ARCH" && exit 1 ;; esac @@ -34,7 +34,8 @@ pushd $TOOLS_DIR echo "📦 Extracting...$TOOLS_DIR/$FILENAME" tar -xf "$FILENAME" mv "$TOOLS_DIR/$BASE_NAME/rushstr" "$TOOLS_DIR" -rm "$FILENAME" +rm -rf "$BASE_NAME" # remove dir +rm -rf "$FILENAME" # remove tar.xz file # Add to PATH (permanent via ~/.zshrc) if ! grep -q "$TOOLS_DIR" ~/.zshrc; then