Redirect header to PLUGIN_RESULT file…
This commit is contained in:
parent
88c0b2766f
commit
c2519ebc5c
|
@ -241,14 +241,14 @@ main() { # {{{
|
||||||
## If any previous file is empty
|
## If any previous file is empty
|
||||||
if is_file_empty "${PLUGIN_RESULT}" || is_file_empty "${PLUGIN_STATE}"; then
|
if is_file_empty "${PLUGIN_RESULT}" || is_file_empty "${PLUGIN_STATE}"; then
|
||||||
## Add HTML header for this part
|
## Add HTML header for this part
|
||||||
add_header "Compare version"
|
add_header "Compare version" >> "${PLUGIN_RESULT}"
|
||||||
## (re)check Maco update
|
## (re)check Maco update
|
||||||
get_maco_update
|
get_maco_update
|
||||||
## Analyze Maco update result (add color,…)
|
## Analyze Maco update result (add color,…)
|
||||||
analyze_maco_update
|
analyze_maco_update
|
||||||
|
|
||||||
## Add HTML header for this part
|
## Add HTML header for this part
|
||||||
add_header "Pending update"
|
add_header "Pending update" >> "${PLUGIN_RESULT}"
|
||||||
## Check for pending update for Maco
|
## Check for pending update for Maco
|
||||||
check_pending_update
|
check_pending_update
|
||||||
## Check for urgent pending update for Maco
|
## Check for urgent pending update for Maco
|
||||||
|
|
Loading…
Reference in New Issue