From 493c79a352e2f6d3949707fbb91e8a26642ded96 Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Sun, 29 Aug 2021 16:08:13 +0930 Subject: [PATCH] minor changes --- install-dependencies | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install-dependencies b/install-dependencies index 662859d..aac11b7 100755 --- a/install-dependencies +++ b/install-dependencies @@ -69,7 +69,7 @@ do fi if ! yay -Qi $dependency &> /dev/null; then - failures+=("$dependency\n") + failures+=("$dependency") fi done @@ -85,7 +85,7 @@ if [ $laptop -eq 1 ]; then fi if ! yay -Qi $dependency &> /dev/null; then - failures+=("$dependency\n") + failures+=("$dependency") fi done fi @@ -94,6 +94,7 @@ total_failures=$((${#failures[@]})) if [ $total_failures -gt 0 ]; then echo "Some of the programs failed to install..." + echo "$total_failures" echo -e "$failures" echo "Please manually rectify this and then rerun this setup with: ./setup deps" exit 1