From b253c9f764fb5003c90bf2e9c6e512d65b8d8a64 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 31 Dec 2024 09:00:07 +0900 Subject: [PATCH] installing paru-bin to address issue https://github.com/JaKooLit/Arch-Hyprland/issues/183 to not pull cargo/or rust nor rustup --- install-scripts/paru.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/install-scripts/paru.sh b/install-scripts/paru.sh index d53c3ca..c48ae9b 100755 --- a/install-scripts/paru.sh +++ b/install-scripts/paru.sh @@ -25,8 +25,8 @@ if [ ! -d Install-Logs ]; then fi # checking if paru exist and removing if it is -if [ -d paru ]; then - rm -rf paru 2>&1 | tee -a "$LOG" +if [ -d paru-bin ]; then + rm -rf paru-bin 2>&1 | tee -a "$LOG" fi # Check for AUR helper and install if not found @@ -36,10 +36,10 @@ if [ -n "$ISAUR" ]; then printf "\n%s - AUR helper already installed, moving on..\n" "${OK}" else printf "\n%s - AUR helper was NOT located\n" "$WARN" - printf "\n%s - Installing paru from AUR\n" "${NOTE}" - git clone https://aur.archlinux.org/paru.git || { printf "%s - Failed to clone paru from AUR\n" "${ERROR}"; exit 1; } - cd paru || { printf "%s - Failed to enter paru directory\n" "${ERROR}"; exit 1; } - makepkg -si --noconfirm 2>&1 | tee -a "$LOG" || { printf "%s - Failed to install paru from AUR\n" "${ERROR}"; exit 1; } + printf "\n%s - Installing paru-bin from AUR\n" "${NOTE}" + git clone https://aur.archlinux.org/paru-bin.git || { printf "%s - Failed to clone paru-bin from AUR\n" "${ERROR}"; exit 1; } + cd paru-bin || { printf "%s - Failed to enter paru directory\n" "${ERROR}"; exit 1; } + makepkg -si --noconfirm 2>&1 | tee -a "$LOG" || { printf "%s - Failed to install paru-bin from AUR\n" "${ERROR}"; exit 1; } # moving install logs in to Install-Logs folder mv install*.log ../Install-Logs/ || true