minor changes
This commit is contained in:
parent
c5ec686beb
commit
eaa4659499
@ -45,7 +45,7 @@ do
|
|||||||
sudo -v
|
sudo -v
|
||||||
if ! yay -Qi $dependency &> /dev/null; then
|
if ! yay -Qi $dependency &> /dev/null; then
|
||||||
echo "Installing $dependency and it's dependencies..."
|
echo "Installing $dependency and it's dependencies..."
|
||||||
yay -S --noconfirm $dependency &> /dev/null
|
yay -S --noconfirm $dependency
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! yay -Qi $dependency &> /dev/null; then
|
if ! yay -Qi $dependency &> /dev/null; then
|
||||||
@ -56,7 +56,7 @@ done
|
|||||||
total_failures=$((${#failures[@]}))
|
total_failures=$((${#failures[@]}))
|
||||||
|
|
||||||
if [ $total_failures -gt 0 ]; then
|
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 -e "$failures"
|
||||||
echo "Please manually rectify this and then rerun this setup with: ./setup defaults"
|
echo "Please manually rectify this and then rerun this setup with: ./setup defaults"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
@ -45,7 +45,7 @@ do
|
|||||||
sudo -v
|
sudo -v
|
||||||
if ! yay -Qi $dependency &> /dev/null; then
|
if ! yay -Qi $dependency &> /dev/null; then
|
||||||
echo "Installing $dependency and it's dependencies..."
|
echo "Installing $dependency and it's dependencies..."
|
||||||
yay -S --noconfirm $dependency &> /dev/null
|
yay -S --noconfirm $dependency
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! yay -Qi $dependency &> /dev/null; then
|
if ! yay -Qi $dependency &> /dev/null; then
|
||||||
@ -56,7 +56,7 @@ done
|
|||||||
total_failures=$((${#failures[@]}))
|
total_failures=$((${#failures[@]}))
|
||||||
|
|
||||||
if [ $total_failures -gt 0 ]; then
|
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 -e "$failures"
|
||||||
echo "Please manually rectify this and then rerun this setup with: ./setup misc"
|
echo "Please manually rectify this and then rerun this setup with: ./setup misc"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user