File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ fn_update_compare() {
93
93
fn_script_log_info " ${localbuild} > ${remotebuildversion} "
94
94
95
95
if [ " ${commandname} " == " UPDATE" ]; then
96
+ date +%s > " ${lockdir} /last-updated.lock"
96
97
unset updateonstart
97
98
check_status.sh
98
99
# If server stopped.
@@ -120,7 +121,6 @@ fn_update_compare() {
120
121
fn_firstcommand_reset
121
122
fi
122
123
unset exitbypass
123
- date +%s > " ${lockdir} /last-updated.lock"
124
124
alert=" update"
125
125
elif [ " ${commandname} " == " CHECK-UPDATE" ]; then
126
126
alert=" check-update"
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ fn_update_compare() {
105
105
fn_script_log_info " ${localbuild} > ${remotebuildversion} "
106
106
107
107
if [ " ${commandname} " == " UPDATE" ]; then
108
+ date +%s > " ${lockdir} /last-updated.lock"
108
109
unset updateonstart
109
110
check_status.sh
110
111
# If server stopped.
@@ -132,7 +133,6 @@ fn_update_compare() {
132
133
fn_firstcommand_reset
133
134
fi
134
135
unset exitbypass
135
- date +%s > " ${lockdir} /last-updated.lock"
136
136
alert=" update"
137
137
elif [ " ${commandname} " == " CHECK-UPDATE" ]; then
138
138
alert=" check-update"
Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ fn_update_compare() {
111
111
fn_script_log_info " ${localbuild} > ${remotebuildversion} "
112
112
113
113
if [ " ${commandname} " == " UPDATE" ]; then
114
+ date +%s > " ${lockdir} /last-updated.lock"
114
115
unset updateonstart
115
116
check_status.sh
116
117
# If server stopped.
@@ -138,7 +139,6 @@ fn_update_compare() {
138
139
fn_firstcommand_reset
139
140
fi
140
141
unset exitbypass
141
- date +%s > " ${lockdir} /last-updated.lock"
142
142
alert=" update"
143
143
elif [ " ${commandname} " == " CHECK-UPDATE" ]; then
144
144
alert=" check-update"
Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ fn_update_compare() {
115
115
fn_script_log_info " ${localbuild} > ${remotebuildversion} "
116
116
117
117
if [ " ${commandname} " == " UPDATE" ]; then
118
+ date +%s > " ${lockdir} /last-updated.lock"
118
119
unset updateonstart
119
120
check_status.sh
120
121
# If server stopped.
@@ -142,7 +143,6 @@ fn_update_compare() {
142
143
fn_firstcommand_reset
143
144
fi
144
145
unset exitbypass
145
- date +%s > " ${lockdir} /last-updated.lock"
146
146
alert=" update"
147
147
elif [ " ${commandname} " == " CHECK-UPDATE" ]; then
148
148
alert=" check-update"
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ fn_update_compare() {
91
91
fn_script_log_info " ${localbuild} > ${remotebuildversion} "
92
92
93
93
if [ " ${commandname} " == " UPDATE" ]; then
94
+ date +%s > " ${lockdir} /last-updated.lock"
94
95
unset updateonstart
95
96
check_status.sh
96
97
# If server stopped.
@@ -118,7 +119,6 @@ fn_update_compare() {
118
119
fn_firstcommand_reset
119
120
fi
120
121
unset exitbypass
121
- date +%s > " ${lockdir} /last-updated.lock"
122
122
alert=" update"
123
123
elif [ " ${commandname} " == " CHECK-UPDATE" ]; then
124
124
alert=" check-update"
Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ fn_update_compare() {
98
98
fn_script_log_info " ${localbuild} > ${remotebuildversion} "
99
99
100
100
if [ " ${commandname} " == " UPDATE" ]; then
101
+ date +%s > " ${lockdir} /last-updated.lock"
101
102
unset updateonstart
102
103
check_status.sh
103
104
# If server stopped.
@@ -125,7 +126,6 @@ fn_update_compare() {
125
126
fn_firstcommand_reset
126
127
fi
127
128
unset exitbypass
128
- date +%s > " ${lockdir} /last-updated.lock"
129
129
alert=" update"
130
130
elif [ " ${commandname} " == " CHECK-UPDATE" ]; then
131
131
alert=" check-update"
You can’t perform that action at this time.
0 commit comments