From c737fd5577faa6766ac9a667436d7457a4fca906 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sun, 21 May 2023 19:26:19 +0200 Subject: [PATCH] Install paru if it is not installed --- arch-setup/install.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/arch-setup/install.sh b/arch-setup/install.sh index 8e02f5dc..34cdc63f 100755 --- a/arch-setup/install.sh +++ b/arch-setup/install.sh @@ -264,15 +264,12 @@ while read package; do done <"$setupdir/packages/winepkgs.txt" echo Installed wine -# install paru-bin with yay, or download paru from github -if [[ $(pacman -Q | grep yay) ]] && [[ ! $(pacman -Q | grep paru) ]]; then - echo "Installing paru" - yay -S paru-bin -elif [[ ! $(pacman -Q | grep yay) ]] && [[ ! $(pacman -Q | grep paru) ]]; then - echo "Installing paru from git" +# install paru-bin +if [[ ! $(pacman -Q | grep paru) ]]; then + echo "Installing paru from the AUR" git clone https://aur.archlinux.org/paru-bin.git cd paru-bin - makepkg -si + yes | LC_ALL=en_US.UTF-8 makepkg -si cd .. fi