From dc38212e57ce6aa7a215b34f896c1342eb7237e2 Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Tue, 21 Jul 2020 15:18:55 -0700 Subject: [PATCH] bin/sh comes first --- certbot-dns-cloudflare/snap/hooks/post-refresh | 2 +- certbot-dns-cloudxns/snap/hooks/post-refresh | 2 +- certbot-dns-digitalocean/snap/hooks/post-refresh | 2 +- certbot-dns-dnsimple/snap/hooks/post-refresh | 2 +- certbot-dns-dnsmadeeasy/snap/hooks/post-refresh | 2 +- certbot-dns-gehirn/snap/hooks/post-refresh | 2 +- certbot-dns-google/snap/hooks/post-refresh | 2 +- certbot-dns-linode/snap/hooks/post-refresh | 2 +- certbot-dns-luadns/snap/hooks/post-refresh | 2 +- certbot-dns-nsone/snap/hooks/post-refresh | 2 +- certbot-dns-ovh/snap/hooks/post-refresh | 2 +- certbot-dns-rfc2136/snap/hooks/post-refresh | 2 +- certbot-dns-route53/snap/hooks/post-refresh | 2 +- certbot-dns-sakuracloud/snap/hooks/post-refresh | 2 +- tools/generate_dnsplugins_postrefreshhook.sh | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/certbot-dns-cloudflare/snap/hooks/post-refresh b/certbot-dns-cloudflare/snap/hooks/post-refresh index 7b2052b62..9791704c0 100644 --- a/certbot-dns-cloudflare/snap/hooks/post-refresh +++ b/certbot-dns-cloudflare/snap/hooks/post-refresh @@ -1,5 +1,5 @@ -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. #!/bin/sh -e +# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. # get certbot version if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then diff --git a/certbot-dns-cloudxns/snap/hooks/post-refresh b/certbot-dns-cloudxns/snap/hooks/post-refresh index 7b2052b62..9791704c0 100644 --- a/certbot-dns-cloudxns/snap/hooks/post-refresh +++ b/certbot-dns-cloudxns/snap/hooks/post-refresh @@ -1,5 +1,5 @@ -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. #!/bin/sh -e +# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. # get certbot version if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then diff --git a/certbot-dns-digitalocean/snap/hooks/post-refresh b/certbot-dns-digitalocean/snap/hooks/post-refresh index 7b2052b62..9791704c0 100644 --- a/certbot-dns-digitalocean/snap/hooks/post-refresh +++ b/certbot-dns-digitalocean/snap/hooks/post-refresh @@ -1,5 +1,5 @@ -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. #!/bin/sh -e +# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. # get certbot version if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then diff --git a/certbot-dns-dnsimple/snap/hooks/post-refresh b/certbot-dns-dnsimple/snap/hooks/post-refresh index 7b2052b62..9791704c0 100644 --- a/certbot-dns-dnsimple/snap/hooks/post-refresh +++ b/certbot-dns-dnsimple/snap/hooks/post-refresh @@ -1,5 +1,5 @@ -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. #!/bin/sh -e +# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. # get certbot version if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then diff --git a/certbot-dns-dnsmadeeasy/snap/hooks/post-refresh b/certbot-dns-dnsmadeeasy/snap/hooks/post-refresh index 7b2052b62..9791704c0 100644 --- a/certbot-dns-dnsmadeeasy/snap/hooks/post-refresh +++ b/certbot-dns-dnsmadeeasy/snap/hooks/post-refresh @@ -1,5 +1,5 @@ -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. #!/bin/sh -e +# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. # get certbot version if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then diff --git a/certbot-dns-gehirn/snap/hooks/post-refresh b/certbot-dns-gehirn/snap/hooks/post-refresh index 7b2052b62..9791704c0 100644 --- a/certbot-dns-gehirn/snap/hooks/post-refresh +++ b/certbot-dns-gehirn/snap/hooks/post-refresh @@ -1,5 +1,5 @@ -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. #!/bin/sh -e +# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. # get certbot version if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then diff --git a/certbot-dns-google/snap/hooks/post-refresh b/certbot-dns-google/snap/hooks/post-refresh index 7b2052b62..9791704c0 100644 --- a/certbot-dns-google/snap/hooks/post-refresh +++ b/certbot-dns-google/snap/hooks/post-refresh @@ -1,5 +1,5 @@ -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. #!/bin/sh -e +# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. # get certbot version if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then diff --git a/certbot-dns-linode/snap/hooks/post-refresh b/certbot-dns-linode/snap/hooks/post-refresh index 7b2052b62..9791704c0 100644 --- a/certbot-dns-linode/snap/hooks/post-refresh +++ b/certbot-dns-linode/snap/hooks/post-refresh @@ -1,5 +1,5 @@ -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. #!/bin/sh -e +# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. # get certbot version if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then diff --git a/certbot-dns-luadns/snap/hooks/post-refresh b/certbot-dns-luadns/snap/hooks/post-refresh index 7b2052b62..9791704c0 100644 --- a/certbot-dns-luadns/snap/hooks/post-refresh +++ b/certbot-dns-luadns/snap/hooks/post-refresh @@ -1,5 +1,5 @@ -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. #!/bin/sh -e +# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. # get certbot version if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then diff --git a/certbot-dns-nsone/snap/hooks/post-refresh b/certbot-dns-nsone/snap/hooks/post-refresh index 7b2052b62..9791704c0 100644 --- a/certbot-dns-nsone/snap/hooks/post-refresh +++ b/certbot-dns-nsone/snap/hooks/post-refresh @@ -1,5 +1,5 @@ -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. #!/bin/sh -e +# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. # get certbot version if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then diff --git a/certbot-dns-ovh/snap/hooks/post-refresh b/certbot-dns-ovh/snap/hooks/post-refresh index 7b2052b62..9791704c0 100644 --- a/certbot-dns-ovh/snap/hooks/post-refresh +++ b/certbot-dns-ovh/snap/hooks/post-refresh @@ -1,5 +1,5 @@ -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. #!/bin/sh -e +# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. # get certbot version if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then diff --git a/certbot-dns-rfc2136/snap/hooks/post-refresh b/certbot-dns-rfc2136/snap/hooks/post-refresh index 7b2052b62..9791704c0 100644 --- a/certbot-dns-rfc2136/snap/hooks/post-refresh +++ b/certbot-dns-rfc2136/snap/hooks/post-refresh @@ -1,5 +1,5 @@ -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. #!/bin/sh -e +# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. # get certbot version if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then diff --git a/certbot-dns-route53/snap/hooks/post-refresh b/certbot-dns-route53/snap/hooks/post-refresh index 7b2052b62..9791704c0 100644 --- a/certbot-dns-route53/snap/hooks/post-refresh +++ b/certbot-dns-route53/snap/hooks/post-refresh @@ -1,5 +1,5 @@ -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. #!/bin/sh -e +# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. # get certbot version if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then diff --git a/certbot-dns-sakuracloud/snap/hooks/post-refresh b/certbot-dns-sakuracloud/snap/hooks/post-refresh index 7b2052b62..9791704c0 100644 --- a/certbot-dns-sakuracloud/snap/hooks/post-refresh +++ b/certbot-dns-sakuracloud/snap/hooks/post-refresh @@ -1,5 +1,5 @@ -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. #!/bin/sh -e +# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. # get certbot version if [ ! -f "$SNAP/certbot-shared/certbot-version.txt" ]; then diff --git a/tools/generate_dnsplugins_postrefreshhook.sh b/tools/generate_dnsplugins_postrefreshhook.sh index f7070e32c..a691071fa 100755 --- a/tools/generate_dnsplugins_postrefreshhook.sh +++ b/tools/generate_dnsplugins_postrefreshhook.sh @@ -9,8 +9,8 @@ for PLUGIN_PATH in "${CERTBOT_DIR}"/certbot-dns-*; do PLUGIN=$(basename "${PLUGIN_PATH}") mkdir -p "${PLUGIN_PATH}/snap/hooks" cat < "${PLUGIN_PATH}/snap/hooks/post-refresh" -# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. #!/bin/sh -e +# This file is generated by tools/generate_dnsplugins_postrefreshhook.sh and should not be edited manually. # get certbot version if [ ! -f "\$SNAP/certbot-shared/certbot-version.txt" ]; then