pagekite hardcodes the /usr/bin/python interpreter which is non-existing on most modern distros (it should be pointing to python2 (unsupported by upstream) or python3 nowadays).
On UbuntuCore specfically the interpreter path should even be provided by the env command since it might actually be shipped inside the snap package itself.
This PR changes the interpreter line of pagekite.py to follow the modern python rules so it can be used in a snap and on UbuntuCore seamlessly.
pagekite hardcodes the /usr/bin/python interpreter which is non-existing on most modern distros (it should be pointing to python2 (unsupported by upstream) or python3 nowadays).
On UbuntuCore specfically the interpreter path should even be provided by the env command since it might actually be shipped inside the snap package itself.
This PR changes the interpreter line of pagekite.py to follow the modern python rules so it can be used in a snap and on UbuntuCore seamlessly.