Soup Update

This commit is contained in:
Mike Reeves
2020-07-18 23:16:39 -04:00
parent 872f849204
commit 954c12acfb

View File

@@ -155,8 +155,8 @@ upgrade_check() {
verify_latest_update_script() {
# 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)
GITSOUP=$(md5sum /tmp/sogh/securityonion/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 | awk '{print $1}')
echo "C is $CURRENTSOUP"
echo "G is $GITSOUP"
if [[ "$CURRENTSOUP" == "$GITSOUP" ]]; then