Skip to content

Commit

Permalink
Update postData.sh: fix message about where files are uploaded to
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Jul 20, 2024
1 parent ee4087b commit 50c7e9e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scripts/postData.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,18 @@ WEBS=""
WHERE_TO=""
if [[ "$( settings ".uselocalwebsite" )" == "true" ]]; then
WEBS+=" --local-web"
WHERE_TO="local Website"
[[ -n ${WHERE_TO} ]] && WHERE_TO+=", "
WHERE_TO+="local Website"
fi
if [[ "$( settings ".useremotewebsite" )" == "true" ]]; then
WEBS+=" --remote-web"
[[ -n ${WHERE_TO} ]] && WHERE_TO+=", "
WHERE_TO="remote Website"
WHERE_TO+="remote Website"
fi
if [[ "$( settings ".useremoteserver" )" == "true" ]]; then
USE_REMOTE_SERVER="true"
[[ -n ${WHERE_TO} ]] && WHERE_TO+=", "
WHERE_TO="remote server"
WHERE_TO+="remote server"
fi

if [[ -z ${WHERE_TO} ]]; then
Expand Down Expand Up @@ -208,7 +210,7 @@ if [[ -n ${WEBS} ]]; then
done
fi

[[ ${FROM_WEBUI} == "true" ]] && echo "Uploaded configuration files to ${WHERE_TO}."
[[ ${FROM_WEBUI} == "true" ]] && echo "Uploaded configuration files to: ${WHERE_TO}."
fi

exit 0

0 comments on commit 50c7e9e

Please sign in to comment.