Update defaults.inc

This commit is contained in:
2023-07-03 23:47:08 -05:00
parent a680cd759d
commit c6f0389eb3

View File

@@ -65,8 +65,8 @@ if [ -f ${FOLDER}/defaults.local.inc ]; then
for value in "${var[@]}"; do for value in "${var[@]}"; do
arr_insert ${ntype}_SERVICES_CHECK $value arr_insert ${ntype}_SERVICES_CHECK $value
done done
else # else
declare "${ntype}_SERVICES_CHECK"="" # declare "${ntype}_SERVICES_CHECK"=""
fi fi
if [ "${NM_DOCKERS_CHECK[${ntype}]}" != "" ]; then if [ "${NM_DOCKERS_CHECK[${ntype}]}" != "" ]; then
@@ -74,8 +74,8 @@ if [ -f ${FOLDER}/defaults.local.inc ]; then
for value in "${var[@]}"; do for value in "${var[@]}"; do
arr_insert ${ntype}_DOCKERS_CHECK $value arr_insert ${ntype}_DOCKERS_CHECK $value
done done
else # else
declare "${ntype}_DOCKERS_CHECK"="" # declare "${ntype}_DOCKERS_CHECK"=""
fi fi
if [ "${NM_REPL_CHECK[${ntype}]}" != "" ]; then if [ "${NM_REPL_CHECK[${ntype}]}" != "" ]; then
@@ -83,8 +83,8 @@ if [ -f ${FOLDER}/defaults.local.inc ]; then
for value in "${var[@]}"; do for value in "${var[@]}"; do
arr_insert ${ntype}_REPL_CHECK $value arr_insert ${ntype}_REPL_CHECK $value
done done
else # else
declare "${ntype}_REPL_CHECK"="" # declare "${ntype}_REPL_CHECK"=""
fi fi
if [ "${NM_SINGLESRVR_SERVICES[${ntype}]}" != "" ]; then if [ "${NM_SINGLESRVR_SERVICES[${ntype}]}" != "" ]; then
@@ -92,8 +92,8 @@ if [ -f ${FOLDER}/defaults.local.inc ]; then
for value in "${var[@]}"; do for value in "${var[@]}"; do
arr_insert ${ntype}_SINGLESRVR_SERVICES $value arr_insert ${ntype}_SINGLESRVR_SERVICES $value
done done
else # else
declare "${ntype}_SINGLESRVR_SERVICES"="" # declare "${ntype}_SINGLESRVR_SERVICES"=""
fi fi
if [ "${NM_SINGLESRVR_DOCKERS[${ntype}]}" != "" ]; then if [ "${NM_SINGLESRVR_DOCKERS[${ntype}]}" != "" ]; then
@@ -101,8 +101,8 @@ if [ -f ${FOLDER}/defaults.local.inc ]; then
for value in "${var[@]}"; do for value in "${var[@]}"; do
arr_insert ${ntype}_SINGLESRVR_DOCKERS $value arr_insert ${ntype}_SINGLESRVR_DOCKERS $value
done done
else # else
declare "${ntype}_SINGLESRVR_DOCKERS"="" # declare "${ntype}_SINGLESRVR_DOCKERS"=""
fi fi
if [ "${NM_SINGLESRVR_IP[${ntype}]}" != "" ]; then if [ "${NM_SINGLESRVR_IP[${ntype}]}" != "" ]; then
@@ -110,8 +110,8 @@ if [ -f ${FOLDER}/defaults.local.inc ]; then
for value in "${var[@]}"; do for value in "${var[@]}"; do
arr_insert ${ntype}_SINGLESRVR_IP $value arr_insert ${ntype}_SINGLESRVR_IP $value
done done
else # else
declare "${ntype}_SINGLESRVR_IP"="" # declare "${ntype}_SINGLESRVR_IP"=""
fi fi
done done