diff --git a/certbot-dns-dnsimple/snap/hooks/install b/certbot-dns-dnsimple/snap/hooks/install deleted file mode 100644 index f3115d391..000000000 --- a/certbot-dns-dnsimple/snap/hooks/install +++ /dev/null @@ -1 +0,0 @@ -snapctl set first-install="true" diff --git a/certbot-dns-dnsimple/snap/hooks/post-refresh b/certbot-dns-dnsimple/snap/hooks/post-refresh index d0c05c43f..7be4472a2 100644 --- a/certbot-dns-dnsimple/snap/hooks/post-refresh +++ b/certbot-dns-dnsimple/snap/hooks/post-refresh @@ -1,7 +1,7 @@ #!/bin/sh -e snapctl get first-install -if [ "$?" -eq "true"]; then +if [ "$?" -eq "1"]; then snapctl set first-install="false" exit 0 fi