Fix expression

This commit is contained in:
RealStickman 2020-12-19 21:45:48 +01:00
parent 6c803eaa14
commit 8f777c0182

View File

@ -327,7 +327,7 @@ cd ..
rm -rf neofetch
# install paru
if ["pacman -Q | grep yay"] && [! "pacman -Q | grep paru"]; then
if [[ $(pacman -Q | grep yay) ]] && [[ ! $(pacman -Q | grep paru) ]]; then
echo "Installing paru"
yay -S paru
fi