soup will now ask to update packages

This commit is contained in:
Mike Reeves
2021-04-21 16:25:41 -04:00
parent 5c4be5e1cd
commit b5b0c262c1

View File

@@ -169,7 +169,7 @@ check_os_updates() {
else
OSUPDATES=$(yum -q list updates | wc -l)
fi
if [[ "$OSUPDATES" -gt 1 ]]; then
if [[ "$OSUPDATES" -gt 0 ]]; then
echo $NEEDUPDATES
echo ""
read -p "Press U to update OS packages (recommended), C to continue without updates, or E to exit: " confirm