Don't check for zero
This commit is contained in:
parent
62e6afd6b5
commit
d182906ee1
|
@ -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 ' {';
|
||||
|
|
Loading…
Reference in New Issue