minor changes

This commit is contained in:
Solomon Laing 2021-08-29 20:31:09 +09:30
parent 0a49da3458
commit e08842cc7c
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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