From 4636de2412b5dc61d2c6200e2bc0b5ae8dbbd034 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Fri, 31 Dec 2021 17:24:54 -0300 Subject: [PATCH] Update getDotfiles() --- install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index a65a084..e698848 100755 --- a/install.sh +++ b/install.sh @@ -335,7 +335,10 @@ getDotfiles() { sudo rm -f ~/.bashrc /usr/bin/CocoASAIS calcWidthAndRun "whiptail --infobox \"Installing 'zaread-git'.\" 7 WIDTH" - paru -Sy zaread-git 2>&1 | debug + paru -Q zaread-git 2>&1 | debug + if [ $? -eq 1 ]; then + paru -S --needed --noconfirm --skipreview zaread-git 2>&1 | debug + fi chsh -s $(which zsh) logout }