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