minor changes

This commit is contained in:
Solomon Laing 2021-08-29 19:03:31 +09:30
parent c5ec686beb
commit eaa4659499
2 changed files with 4 additions and 4 deletions

View File

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

View File

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