From 4adabc1a6f5f10638da7a22d892e376cd07b38e4 Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Sun, 29 Aug 2021 22:22:02 +0930 Subject: [PATCH] minor changes --- install-defaults | 2 +- install-dependencies | 2 +- install-misc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install-defaults b/install-defaults index 606562d..0d55a9e 100755 --- a/install-defaults +++ b/install-defaults @@ -38,8 +38,8 @@ failures=() # run though each dependency and install it if it's not already installed for dependency in $dependencies do - clear sudo -v + clear if ! yay -Qi $dependency &> /dev/null; then echo "Installing $dependency and it's dependencies..." yay -S --noconfirm $dependency diff --git a/install-dependencies b/install-dependencies index 7fce4e8..78e3856 100755 --- a/install-dependencies +++ b/install-dependencies @@ -57,8 +57,8 @@ failures=() # run though each dependency and install it if it's not already installed for dependency in $dependencies do - clear sudo -v + clear if ! yay -Qi $dependency &> /dev/null; then #TODO: check whether this works as I'm expecting... echo "Installing $dependency and it's dependencies..." yay -S --noconfirm $dependency diff --git a/install-misc b/install-misc index 6c03630..99abccb 100755 --- a/install-misc +++ b/install-misc @@ -38,8 +38,8 @@ failures=() # run though each dependency and install it if it's not already installed for dependency in $dependencies do - clear sudo -v + clear if ! yay -Qi $dependency &> /dev/null; then echo "Installing $dependency and it's dependencies..." yay -S --noconfirm $dependency