change presence test to new file

This commit is contained in:
Erica Portnoy 2020-07-16 14:58:14 -07:00
parent 4cbdfbad6f
commit fbd578f230

View file

@ -1,7 +1,7 @@
#!/bin/sh -e
# get certbot version
if [ ! -f "$SNAP/certbot-shared/__init__.py" ]; then
if [ ! -f "$SNAP/certbot-shared/certbot-version" ]; then
echo "No certbot version available; not doing version comparison check" >> "$SNAP_DATA/debuglog"
exit 0
fi