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