This and the depending scripts are not working with Ubuntu 22.04 anymore.
My default sym-link for python at least is pointing to Python 3.10.4
Already tested with my fix which I will provide in a PR:
python --version
Python 3.10.4
I tested my patches with python 2.7.x as well and they seem to work with Ubuntu 20.04, but this is not the python version that we should use anymore.
Feel free to comment. :)