UPname =title

This commit is contained in:
fred 2024-04-09 02:52:14 +02:00
parent a39a0cd272
commit 527c09838a
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ while read JSONUPLANET; do
echo "JSONUPLANET=${JSONUPLANET}"
UPNAME=$(echo ${JSONUPLANET} | jq .title) # What name is given ?
[[ "${UPNAME}" == "null" || "${UPNAME}" == "" ]] && echo "FATAL ERROR UPNAME .UPname MISSING" && exit 1
[[ "${UPNAME}" == "null" || "${UPNAME}" == "" ]] && echo "FATAL ERROR UPNAME .title MISSING" && exit 1
HASH=$(echo ${JSONUPLANET} | jq -r ".hash") ## What text hash it has ?
[[ "${HASH}" == "null" || "${HASH}" == "" ]] && echo "FATAL ERROR UPNAME .hash MISSING" && exit 1
SECRET=$(echo ${JSONUPLANET} | jq -r ".secret") ## What is secret ?