From 006563cae5dffdf1bbe8395808f06bda05854b10 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 30 Sep 2024 16:58:58 -0500 Subject: [PATCH] Update defaults.inc --- defaults.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/defaults.inc b/defaults.inc index 0884a19..78b0f00 100755 --- a/defaults.inc +++ b/defaults.inc @@ -125,9 +125,11 @@ DEBUGLOGSTOP(){ MMUPDATECHECK(){ if curl -m 15 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then - cd ${MMFOLDER} + cd /opt/idssys/mediamanager if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then touch ${TMPFOLDER}/update.available + else + /bin/rm -f ${TMPFOLDER}/update.available fi else /bin/rm -f ${TMPFOLDER}/update.available