bin/sh comes first

This commit is contained in:
Erica Portnoy 2020-07-21 15:18:55 -07:00
parent 6b270e653b
commit dc38212e57
15 changed files with 15 additions and 15 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -9,8 +9,8 @@ for PLUGIN_PATH in "${CERTBOT_DIR}"/certbot-dns-*; do
PLUGIN=$(basename "${PLUGIN_PATH}")
mkdir -p "${PLUGIN_PATH}/snap/hooks"
cat <<EOF > "${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