diff --git a/install-dependencies b/install-dependencies index 3492760..7fe112a 100755 --- a/install-dependencies +++ b/install-dependencies @@ -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