From 32f72ac0b4b3b72b5b76eebe432a74f57a768228 Mon Sep 17 00:00:00 2001 From: aptalca <541623+aptalca@users.noreply.github.com> Date: Mon, 4 Mar 2024 18:33:13 -0500 Subject: [PATCH] make it pretty, grep `certbot-dns` --- root/etc/s6-overlay/s6-rc.d/init-certbot-config/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/s6-overlay/s6-rc.d/init-certbot-config/run b/root/etc/s6-overlay/s6-rc.d/init-certbot-config/run index 15505bd0..f3ad0aaf 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-certbot-config/run +++ b/root/etc/s6-overlay/s6-rc.d/init-certbot-config/run @@ -24,7 +24,7 @@ for i in "${SANED_VARS[@]}"; do done # Check for and install requested DNS plugins -if echo ${DOCKER_MODS} | grep -q "universal-package-install" && echo ${INSTALL_PIP_PACKAGES} | grep -q "dns"; then +if grep -q "universal-package-install" <<< "${DOCKER_MODS}" && grep -q "certbot-dns" <<< "${INSTALL_PIP_PACKAGES}"; then echo "**** Installing requested dns plugins ****" /etc/s6-overlay/s6-rc.d/init-mod-universal-package-install-add-package/run /etc/s6-overlay/s6-rc.d/init-mods-package-install/run