mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
it's python3
This commit is contained in:
parent
1270b937c3
commit
324c4539cd
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ echo "cb_installed: $cb_installed" >> "$SNAP_DATA/debuglog"
|
|||
cb_required=$(grep -oP "certbot>=\K.*(?=')" $SNAP/setup.py)
|
||||
echo "cb_required: $cb_required" >> "$SNAP_DATA/debuglog"
|
||||
|
||||
python -c 'from distutils.version import LooseVersion;\
|
||||
python3 -c 'from distutils.version import LooseVersion;\
|
||||
exit(1) if LooseVersion("$cb_installed") < LooseVersion("$cb_required") else exit(0)'
|
||||
|
||||
if [ "$?" -eq 1 ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue