Getting domain name

This commit is contained in:
Bob Mottram 2018-05-25 19:26:23 +01:00
parent 0bd2b8c8f3
commit 8f58083d22
1 changed files with 2 additions and 1 deletions

View File

@ -86,7 +86,8 @@ function android_update_apps {
echo " \"clients\": ["; } >> "$plinth_api"
read_config_param "${app_name_upper}_DOMAIN_NAME"
domain_name=$(("${app_name_upper}_DOMAIN_NAME"))
test_domain_name="${app_name_upper}_DOMAIN_NAME"
domain_name=${!test_domain_name}
if [[ "$domain_name" != "0" && "$app_name" != 'matrix' ]]; then
{ echo ' {';
echo " \"name\": \"${app_name}\",";