minor changes
This commit is contained in:
parent
13a6cfac98
commit
493c79a352
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user