mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
soup will now ask to update packages
This commit is contained in:
@@ -169,7 +169,7 @@ check_os_updates() {
|
|||||||
else
|
else
|
||||||
OSUPDATES=$(yum -q list updates | wc -l)
|
OSUPDATES=$(yum -q list updates | wc -l)
|
||||||
fi
|
fi
|
||||||
if [[ "$OSUPDATES" -gt 1 ]]; then
|
if [[ "$OSUPDATES" -gt 0 ]]; then
|
||||||
echo $NEEDUPDATES
|
echo $NEEDUPDATES
|
||||||
echo ""
|
echo ""
|
||||||
read -p "Press U to update OS packages (recommended), C to continue without updates, or E to exit: " confirm
|
read -p "Press U to update OS packages (recommended), C to continue without updates, or E to exit: " confirm
|
||||||
|
|||||||
Reference in New Issue
Block a user