|
|
@ -150,6 +150,7 @@ fn_update_ts3_compare() { |
|
|
|
fn_script_log_info "Remote build: ${remotebuild}" |
|
|
|
fn_script_log_info "${localbuild} > ${remotebuild}" |
|
|
|
|
|
|
|
if [ "${commandname}" == "UPDATE" ]; then |
|
|
|
unset updateonstart |
|
|
|
check_status.sh |
|
|
|
# If server stopped. |
|
|
@ -179,6 +180,9 @@ fn_update_ts3_compare() { |
|
|
|
unset exitbypass |
|
|
|
date +%s > "${lockdir}/lastupdate.lock" |
|
|
|
alert="update" |
|
|
|
elif [ "${commandname}" == "CHECK-UPDATE" ]; then |
|
|
|
alert="check-update" |
|
|
|
fi |
|
|
|
alert.sh |
|
|
|
else |
|
|
|
fn_print_ok_nl "Checking for update: ${remotelocation}" |
|
|
|