Add paru from git install

This commit is contained in:
RealStickman 2021-03-09 11:39:24 +01:00
parent ca2ff7dcef
commit aaefe4a9ff

View File

@ -299,7 +299,7 @@ echo Uninstalled unused packages
#update stuff
echo Updating packages
paru -Syyu
sudo pacman -Syyu
echo Updated packages
#pacman programs
@ -335,6 +335,13 @@ if [[ $(pacman -Q | grep yay) ]] && [[ ! $(pacman -Q | grep paru) ]]; then
yay -S paru-bin
fi
if [[ $(pacman -Q | grep yay) ]] && [[ ! $(pacman -Q | grep paru) ]]; then
echo "Installing paru from git"
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si
fi
#AUR
echo Installing default AUR programs
paru -S --needed - < "$setupdir/packages/aurpkgs.txt"