From 2351260d1d1d16c15e938b0adfbce056d0969b26 Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Mon, 13 Jul 2020 19:04:06 -0700 Subject: ok NOW all print statements are going to the log --- certbot-dns-dnsimple/snap/hooks/post-refresh | 2 +- certbot-dns-dnsimple/snap/hooks/pre-refresh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/certbot-dns-dnsimple/snap/hooks/post-refresh b/certbot-dns-dnsimple/snap/hooks/post-refresh index 5fd583999..c4dae2307 100644 --- a/certbot-dns-dnsimple/snap/hooks/post-refresh +++ b/certbot-dns-dnsimple/snap/hooks/post-refresh @@ -8,7 +8,7 @@ if [ -z "$cb_installed" ]; then exit 0 fi -echo "cb_installed: $cb_installed" > "$SNAP_DATA/debuglog" +echo "cb_installed: $cb_installed" > "$SNAP_DATA/debuglog" > "$SNAP_DATA/debuglog" # get required certbot version for plugin cb_required=$(grep -oP "certbot>=\K.*(?=')" $SNAP/setup.py) diff --git a/certbot-dns-dnsimple/snap/hooks/pre-refresh b/certbot-dns-dnsimple/snap/hooks/pre-refresh index 04d095d24..a253115a6 100644 --- a/certbot-dns-dnsimple/snap/hooks/pre-refresh +++ b/certbot-dns-dnsimple/snap/hooks/pre-refresh @@ -8,7 +8,7 @@ if [ -z "$first_install" ]; then fi echo "ls $SNAP/certbot-shared:" > "$SNAP_DATA/debuglog" -ls $SNAP/certbot-shared +ls $SNAP/certbot-shared > "$SNAP_DATA/debuglog" cb_installed=$(grep -oP "__version__ = '\K.*(?=')" $SNAP/certbot-shared/__init__.py) echo "cb_installed: $cb_installed" > "$SNAP_DATA/debuglog" snapctl set cb-installed="$cb_installed" -- cgit v1.2.3