From 94087de223318f217e3700da9aa6146a93e84182 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 24 Jun 2024 11:22:38 +0200 Subject: [PATCH] ; --- pidd.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pidd.sh b/pidd.sh index cbb497a..2f75e36 100644 --- a/pidd.sh +++ b/pidd.sh @@ -520,7 +520,7 @@ pidd_set_https_verification_off() { pidd_set_dns_resolving() { pidd_step "Set DNS resolving" - for pidd_sdr__server in ${PIDD_DNS} ; do + for pidd_sdr__server in ${PIDD_DNS}; do pidd_sdr__text="${pidd_sdr__text}\ nameserver ${pidd_sdr__server} " @@ -548,7 +548,7 @@ pidd_write_ca_certificates() { pidd_mkdir "${PIDD_CA_ROOT}" pidd_wcc__index=1 eval "pidd_wcc__text=\"\${PIDD_CA_${pidd_wcc__index}}\"" - while [ -n "${pidd_wcc__text}" ] ; do + while [ -n "${pidd_wcc__text}" ]; do pidd_wcc__path="${PIDD_CA_ROOT}/${pidd_wcc__index}.crt" pidd_split pidd_write \ @@ -608,7 +608,7 @@ pidd_install_python_modules() { pidd_step "Install Python modules" pidd_ipm__root="$(mktemp --directory)" || exit echo "→ ${pidd_ipm__root}" - for pidd_ipm__repository in "${PIDD_GIT_MAIN}" "${PIDD_GIT_ROOT}" ; do + for pidd_ipm__repository in "${PIDD_GIT_MAIN}" "${PIDD_GIT_ROOT}"; do case "${pidd_ipm__repository}" in http*) pidd_ipm__url="${pidd_ipm__repository}" ;; /*) pidd_ipm__url="${PIDD_PROJECT_ROOT}${pidd_ipm__repository}" ;; @@ -677,7 +677,7 @@ pidd_cat() { pidd_echo() { if [ -n "${1}" ]; then - for pidd_echo__name in "${@}" ; do + for pidd_echo__name in "${@}"; do pidd_echo__text="" eval "pidd_echo__text=\"\${${pidd_echo__name}}\"" echo "${pidd_echo__name} = \"${pidd_echo__text}\"" @@ -766,7 +766,7 @@ pidd_sed() { shift if [ -f "${pidd_sed__file}" ]; then pidd_cat "${pidd_sed__file}" - for pidd_sed__regex in "${@}" ; do + for pidd_sed__regex in "${@}"; do sed --in-place "s${pidd_sed__regex}g" "${pidd_sed__file}" \ && pidd_cat "${pidd_sed__file}" \ || exit