From 7205103bf63e367c9df10b3fad57dfd7d617fc47 Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Wed, 1 Jul 2020 20:09:27 -0700 Subject: [PATCH] it's a directory? --- certbot-dns-dnsimple/snap/hooks/pre-refresh | 1 + 1 file changed, 1 insertion(+) diff --git a/certbot-dns-dnsimple/snap/hooks/pre-refresh b/certbot-dns-dnsimple/snap/hooks/pre-refresh index b3a4797d3..5d8b8be0b 100644 --- a/certbot-dns-dnsimple/snap/hooks/pre-refresh +++ b/certbot-dns-dnsimple/snap/hooks/pre-refresh @@ -6,6 +6,7 @@ if [ -z "$first_install" ]; then exit 0 fi +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"