From 5569c713c4374ae4e9be315228e38bd49aa4626d Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Sun, 29 Aug 2021 16:21:21 +0930 Subject: [PATCH] minor changes --- install-dependencies | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install-dependencies b/install-dependencies index 3492760..7fe112a 100755 --- a/install-dependencies +++ b/install-dependencies @@ -78,7 +78,7 @@ if [ $laptop -eq 1 ]; then for dependency in $laptop_dependencies do clear - sudo -v + sudo -v if ! yay -Qi $dependency &> /dev/null; then echo "Installing $dependency and it's dependencies..." yay -S --noconfirm $dependency @@ -103,8 +103,7 @@ fi total_failures=$((${#failures[@]})) if [ $total_failures -gt 0 ]; then - echo "Some of the programs failed to install..." - echo "$total_failures" + echo "$total_failures of the programs failed to install..." echo -e "$failures" echo "Please manually rectify this and then rerun this setup with: ./setup deps" exit 1