diafygi / acme-tiny

A tiny script to issue and renew TLS certs from Let's Encrypt
MIT License
4.73k stars 572 forks source link

python(2) vs. python3 #269

Closed hjp closed 3 years ago

hjp commented 3 years ago

On many Linux systems, /usr/bin/python is traditionally Python 2.x, while Python 3.x is /usr/bin/python3.

On Debian 11, Python 2.x is now optional. So #!/usr/bin/env python may not work even though there is a working Python (3.x) interpreter installed. I would expect that to be also the case on new (non-LTS) Ubuntu and maybe Fedora systems.

The simple fix is to change the hashbang line to #!/usr/bin/env python3. That would break on systems which only have Python 2.x installed. Are those still a concern?

qyanu commented 3 years ago

Link to https://github.com/diafygi/acme-tiny/pull/240 as that PR probably solves this issue. (notify @hjp )

diafygi commented 3 years ago

Fixed in 5.0.1 release