Change paru installation a bit
This commit is contained in:
parent
bcac272798
commit
a2fcc213ff
@ -294,13 +294,11 @@ sudo make install
|
|||||||
cd ..
|
cd ..
|
||||||
rm -rf neofetch
|
rm -rf neofetch
|
||||||
|
|
||||||
# install paru
|
# install paru-bin with yay, or download paru from github
|
||||||
if [[ $(pacman -Q | grep yay) ]] && [[ ! $(pacman -Q | grep paru) ]]; then
|
if [[ $(pacman -Q | grep yay) ]] && [[ ! $(pacman -Q | grep paru) ]]; then
|
||||||
echo "Installing paru"
|
echo "Installing paru"
|
||||||
yay -S paru-bin
|
yay -S paru-bin
|
||||||
fi
|
elif [[ ! $(pacman -Q | grep yay) ]] && [[ ! $(pacman -Q | grep paru) ]]; then
|
||||||
|
|
||||||
if [[ $(pacman -Q | grep yay) ]] && [[ ! $(pacman -Q | grep paru) ]]; then
|
|
||||||
echo "Installing paru from git"
|
echo "Installing paru from git"
|
||||||
git clone https://aur.archlinux.org/paru.git
|
git clone https://aur.archlinux.org/paru.git
|
||||||
cd paru
|
cd paru
|
||||||
|
Loading…
Reference in New Issue
Block a user