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