Skip to content

Commit

Permalink
make it pretty, grep certbot-dns
Browse files Browse the repository at this point in the history
  • Loading branch information
aptalca committed Mar 4, 2024
1 parent 970fa75 commit 32f72ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/etc/s6-overlay/s6-rc.d/init-certbot-config/run
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32f72ac

Please sign in to comment.