diff --git a/certbot-dns-dnsimple/snap/snapcraft.yaml b/certbot-dns-dnsimple/snap/snapcraft.yaml index a306bb0c4..eae5639f6 100644 --- a/certbot-dns-dnsimple/snap/snapcraft.yaml +++ b/certbot-dns-dnsimple/snap/snapcraft.yaml @@ -28,10 +28,12 @@ slots: read: - $SNAP/lib/python3.8/site-packages +plugs: + certbot-version: + interface: content + content: version-1 + target: $SNAP/certbot-version + hooks: post-refresh: - plugs: - certbot-version: - interface: content - content: version-1 - target: $SNAP/certbot-version + plugs: [content, certbot-version] \ No newline at end of file