diff --git a/install-defaults b/install-defaults index 89e0f7b..18d1778 100755 --- a/install-defaults +++ b/install-defaults @@ -45,7 +45,7 @@ do sudo -v if ! yay -Qi $dependency &> /dev/null; then echo "Installing $dependency and it's dependencies..." - yay -S --noconfirm $dependency &> /dev/null + yay -S --noconfirm $dependency fi if ! yay -Qi $dependency &> /dev/null; then @@ -56,7 +56,7 @@ done total_failures=$((${#failures[@]})) if [ $total_failures -gt 0 ]; then - echo "Some of the programs failed to install..." + echo "$total_failures of the programs failed to install..." echo -e "$failures" echo "Please manually rectify this and then rerun this setup with: ./setup defaults" exit 1 diff --git a/install-misc b/install-misc index 7c8136d..c36cc7c 100755 --- a/install-misc +++ b/install-misc @@ -45,7 +45,7 @@ do sudo -v if ! yay -Qi $dependency &> /dev/null; then echo "Installing $dependency and it's dependencies..." - yay -S --noconfirm $dependency &> /dev/null + yay -S --noconfirm $dependency fi if ! yay -Qi $dependency &> /dev/null; then @@ -56,7 +56,7 @@ done total_failures=$((${#failures[@]})) if [ $total_failures -gt 0 ]; then - echo "Some of the programs failed to install..." + echo "$total_failures of the programs failed to install..." echo -e "$failures" echo "Please manually rectify this and then rerun this setup with: ./setup misc" exit 1