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