minor changes
This commit is contained in:
parent
0a49da3458
commit
e08842cc7c
@ -57,7 +57,7 @@ total_failures=$((${#failures[@]}))
|
|||||||
|
|
||||||
if [ $total_failures -gt 0 ]; then
|
if [ $total_failures -gt 0 ]; then
|
||||||
echo "$total_failures 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
|
||||||
else
|
else
|
||||||
|
|||||||
@ -96,7 +96,7 @@ if [ $laptop -eq 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if ! yay -Qi $dependency &> /dev/null; then
|
if ! yay -Qi $dependency &> /dev/null; then
|
||||||
failures+=("$dependency")
|
failures+=("$dependency\n")
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
@ -105,7 +105,7 @@ total_failures=$((${#failures[@]}))
|
|||||||
|
|
||||||
if [ $total_failures -gt 0 ]; then
|
if [ $total_failures -gt 0 ]; then
|
||||||
echo "$total_failures 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 deps"
|
echo "Please manually rectify this and then rerun this setup with: ./setup deps"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
|
|||||||
@ -57,7 +57,7 @@ total_failures=$((${#failures[@]}))
|
|||||||
|
|
||||||
if [ $total_failures -gt 0 ]; then
|
if [ $total_failures -gt 0 ]; then
|
||||||
echo "$total_failures 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
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user