Skip to content

Commit 3297914

Browse files
Update MerlinAU.sh
1 parent 12b726c commit 3297914

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

MerlinAU.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1906,6 +1906,13 @@ _SCRIPTUPDATE_()
19061906
retCode=1
19071907
Say "${REDct}**ERROR**${NOct}: Unable to download latest script file for $SCRIPT_NAME."
19081908
fi
1909+
if _CurlFileDownload_ "${SCRIPT_URL_REPO}/${SCRIPT_NAME}.asp" "$SETTINGS_DIR"
1910+
then
1911+
retCode=0 ; chmod 755 "$SETTINGS_DIR"
1912+
else
1913+
retCode=1
1914+
Say "${REDct}**ERROR**${NOct}: Unable to download latest WebUI file for $SCRIPT_NAME."
1915+
fi
19091916
return "$retCode"
19101917
}
19111918

0 commit comments

Comments
 (0)