mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
Soup Update
This commit is contained in:
@@ -155,8 +155,8 @@ upgrade_check() {
|
|||||||
|
|
||||||
verify_latest_update_script() {
|
verify_latest_update_script() {
|
||||||
# Check to see if the update scripts match. If not run the new one.
|
# Check to see if the update scripts match. If not run the new one.
|
||||||
CURRENTSOUP=$(md5sum /opt/so/saltstack/default/salt/common/tools/sbin/soup)
|
CURRENTSOUP=$(md5sum /opt/so/saltstack/default/salt/common/tools/sbin/soup | awk '{print $1}')
|
||||||
GITSOUP=$(md5sum /tmp/sogh/securityonion/salt/common/tools/sbin/soup)
|
GITSOUP=$(md5sum /tmp/sogh/securityonion/salt/common/tools/sbin/soup | awk '{print $1}')
|
||||||
echo "C is $CURRENTSOUP"
|
echo "C is $CURRENTSOUP"
|
||||||
echo "G is $GITSOUP"
|
echo "G is $GITSOUP"
|
||||||
if [[ "$CURRENTSOUP" == "$GITSOUP" ]]; then
|
if [[ "$CURRENTSOUP" == "$GITSOUP" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user