From e08842cc7c6950c024cc97fab02455570a1ca21e Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Sun, 29 Aug 2021 20:31:09 +0930 Subject: [PATCH] minor changes --- install-defaults | 2 +- install-dependencies | 4 ++-- install-misc | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/install-defaults b/install-defaults index 18d1778..e8476e6 100755 --- a/install-defaults +++ b/install-defaults @@ -57,7 +57,7 @@ total_failures=$((${#failures[@]})) if [ $total_failures -gt 0 ]; then echo "$total_failures of the programs failed to install..." - echo -e "$failures" + echo -e "${failures[@]}" echo "Please manually rectify this and then rerun this setup with: ./setup defaults" exit 1 else diff --git a/install-dependencies b/install-dependencies index 899407c..2637a33 100755 --- a/install-dependencies +++ b/install-dependencies @@ -96,7 +96,7 @@ if [ $laptop -eq 1 ]; then fi if ! yay -Qi $dependency &> /dev/null; then - failures+=("$dependency") + failures+=("$dependency\n") fi done fi @@ -105,7 +105,7 @@ total_failures=$((${#failures[@]})) if [ $total_failures -gt 0 ]; then echo "$total_failures of the programs failed to install..." - echo -e "$failures" + echo -e "${failures[@]}" echo "Please manually rectify this and then rerun this setup with: ./setup deps" exit 1 else diff --git a/install-misc b/install-misc index 5da6275..620ad76 100755 --- a/install-misc +++ b/install-misc @@ -57,7 +57,7 @@ total_failures=$((${#failures[@]})) if [ $total_failures -gt 0 ]; then echo "$total_failures of the programs failed to install..." - echo -e "$failures" + echo -e "${failures[@]}" echo "Please manually rectify this and then rerun this setup with: ./setup misc" exit 1 else