minor changes

This commit is contained in:
Solomon Laing 2021-08-29 16:21:21 +09:30
parent 69369f36fd
commit 5569c713c4

View File

@ -78,7 +78,7 @@ if [ $laptop -eq 1 ]; then
for dependency in $laptop_dependencies
do
clear
sudo -v
sudo -v
if ! yay -Qi $dependency &> /dev/null; then
echo "Installing $dependency and it's dependencies..."
yay -S --noconfirm $dependency
@ -103,8 +103,7 @@ fi
total_failures=$((${#failures[@]}))
if [ $total_failures -gt 0 ]; then
echo "Some of the programs failed to install..."
echo "$total_failures"
echo "$total_failures of the programs failed to install..."
echo -e "$failures"
echo "Please manually rectify this and then rerun this setup with: ./setup deps"
exit 1