diff --git a/certbot-dns-dnsimple/snap/hooks/pre-refresh b/certbot-dns-dnsimple/snap/hooks/pre-refresh index f984aff42..b3a4797d3 100644 --- a/certbot-dns-dnsimple/snap/hooks/pre-refresh +++ b/certbot-dns-dnsimple/snap/hooks/pre-refresh @@ -6,7 +6,6 @@ if [ -z "$first_install" ]; then exit 0 fi -echo 'ls certbot-exec: $(ls "$SNAP/certbot-exec")' cb_installed=$(grep -oP "__requires__ = 'certbot==\K.*(?=')" $SNAP/certbot-exec) echo "cb_installed $cb_installed" snapctl set cb-installed="$cb_installed" diff --git a/certbot-dns-dnsimple/snap/snapcraft.yaml b/certbot-dns-dnsimple/snap/snapcraft.yaml index 1ee13b3a9..33f9722cc 100644 --- a/certbot-dns-dnsimple/snap/snapcraft.yaml +++ b/certbot-dns-dnsimple/snap/snapcraft.yaml @@ -36,4 +36,4 @@ plugs: hooks: post-refresh: - plugs: [certbot-version] \ No newline at end of file + plugs: [content]