mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Update soup
This commit is contained in:
@@ -569,6 +569,9 @@ upgrade_check() {
|
|||||||
# Let's make sure we actually need to update.
|
# Let's make sure we actually need to update.
|
||||||
NEWVERSION=$(cat $UPDATE_DIR/VERSION)
|
NEWVERSION=$(cat $UPDATE_DIR/VERSION)
|
||||||
HOTFIXVERSION=$(cat $UPDATE_DIR/HOTFIX)
|
HOTFIXVERSION=$(cat $UPDATE_DIR/HOTFIX)
|
||||||
|
if [ ! -f /etc/sohotfix ]; then
|
||||||
|
touch /etc/sohotfix
|
||||||
|
fi
|
||||||
[[ -f /etc/sohotfix ]] && CURRENTHOTFIX=$(cat /etc/sohotfix)
|
[[ -f /etc/sohotfix ]] && CURRENTHOTFIX=$(cat /etc/sohotfix)
|
||||||
if [ "$INSTALLEDVERSION" == "$NEWVERSION" ]; then
|
if [ "$INSTALLEDVERSION" == "$NEWVERSION" ]; then
|
||||||
echo "Checking to see if there are hotfixes needed"
|
echo "Checking to see if there are hotfixes needed"
|
||||||
|
|||||||
Reference in New Issue
Block a user