|
|
@@ -105,6 +105,7 @@ fn_update_compare() {
|
|
|
fn_script_log_info "${localbuild} > ${remotebuildversion}"
|
|
|
|
|
|
if [ "${commandname}" == "UPDATE" ]; then
|
|
|
+ date +%s > "${lockdir}/last-updated.lock"
|
|
|
unset updateonstart
|
|
|
check_status.sh
|
|
|
# If server stopped.
|
|
|
@@ -132,7 +133,6 @@ fn_update_compare() {
|
|
|
fn_firstcommand_reset
|
|
|
fi
|
|
|
unset exitbypass
|
|
|
- date +%s > "${lockdir}/last-updated.lock"
|
|
|
alert="update"
|
|
|
elif [ "${commandname}" == "CHECK-UPDATE" ]; then
|
|
|
alert="check-update"
|