From d231c02fe96eece13af333aa657c61e191908d40 Mon Sep 17 00:00:00 2001 From: "Gu://em_" Date: Tue, 14 Jul 2026 23:54:35 +0200 Subject: [PATCH] Removed a non-assigned variable that made the installer crash --- scripts/install.sh | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index 415478b..3b70630 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -519,22 +519,12 @@ install_packages() { if [[ $group == aur ]]; then for pkg in "${pkgs[@]}"; do local tmp; tmp=$(mktemp) - if [[ $IS_TTY == true ]]; then - spinner_start " [aur] $pkg" - if paru -S --needed --noconfirm "$pkg" >"$tmp" 2>&1; then - spinner_stop ok "[aur] $pkg"; succeeded+=("$pkg") - else - spinner_stop fail "[aur] $pkg" - warn "paru output:"; cat "$tmp" | indent; failed+=("$pkg") - fi + spinner_start " [aur] $pkg" + if paru -S --needed --noconfirm "$pkg" >"$tmp" 2>&1; then + spinner_stop ok "[aur] $pkg"; succeeded+=("$pkg") else - printf " ... [aur] %s\n" "$pkg" - if paru -S --needed --noconfirm "$pkg" >"$tmp" 2>&1; then - ok "[aur] $pkg"; succeeded+=("$pkg") - else - err "[aur] $pkg" - warn "paru output:"; cat "$tmp" | indent; failed+=("$pkg") - fi + spinner_stop fail "[aur] $pkg" + warn "paru output:"; cat "$tmp" | indent; failed+=("$pkg") fi rm -f "$tmp" done