Don't check for zero

This commit is contained in:
Bob Mottram 2018-05-25 19:46:43 +01:00
parent 62e6afd6b5
commit d182906ee1
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ function android_update_apps {
read_config_param "${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
if [[ "$domain_name" && "$app_name" != 'matrix' ]]; then
{ echo ' {';
echo " \"name\": \"${app_name}\",";
echo " \"platforms\": [";
@ -99,7 +99,7 @@ function android_update_apps {
fi
if [ "$MOBILE_APP_URL" ]; then
if [[ "$domain_name" != "0" && "$app_name" != 'matrix' ]]; then
if [[ "$domain_name" && "$app_name" != 'matrix' ]]; then
echo ',' >> "$plinth_api"
else
{ echo ' {';