Added HASH and VERSION
This commit is contained in:
parent
a884019431
commit
ec660a9fad
@ -362,7 +362,7 @@ if [ ${news_to_ismas_sourced:-1} = "1" ]; then # include only once
|
||||
\"RESULTCODE\" : ${p[2]},
|
||||
\"STEP\" : \"update_psa_${p[3]}\",
|
||||
\"STEP_RESULT\" : \"${p[4]}\",
|
||||
\"VERSION\" : \"${p[5]}\"
|
||||
\"VERSION\" : \"$VERSION\"
|
||||
}
|
||||
}"
|
||||
log_debug "$func:${LINENO}: data=$data"
|
||||
@ -378,7 +378,8 @@ if [ ${news_to_ismas_sourced:-1} = "1" ]; then # include only once
|
||||
local data="#M=APISM#C=CMD_SENDVERSION#J=
|
||||
{
|
||||
\"VERSION_INFO\" : {
|
||||
\"CREATED\":\"$(date +%Y-%m-%dT%T)\"
|
||||
\"CREATED\":\"$(date +%Y-%m-%dT%T)\",
|
||||
\"HASH\":\"$(compute_hash)\"
|
||||
},
|
||||
\"TARIFF\": {
|
||||
$(<$TARIFF_CURRENT_FULL)
|
||||
@ -429,10 +430,10 @@ if [ ${news_to_ismas_sourced:-1} = "1" ]; then # include only once
|
||||
|
||||
# if [ $EXITCODE -eq $RC_SUCCESS ]; then
|
||||
update_psa_update_succeeded $UPDATE_SUCCEEDED \
|
||||
$RC_SUCCESS "psa update succeeded"
|
||||
$RC_SUCCESS "psa update succeeded" $VERSION
|
||||
|
||||
update_psa_update_succeeded $UPDATE_ACTIVATED \
|
||||
$RC_SUCCESS "psa update activated"
|
||||
$RC_SUCCESS "psa update activated" $VERSION
|
||||
|
||||
log_info "$func:${LINENO}: success"
|
||||
# fi
|
||||
|
Loading…
Reference in New Issue
Block a user