3afbeeaf4e
Creating an element which we can use in #! lines to refer to either python2 or python3 depending on what it available. Change-Id: Ic47e18ad21c33ab9f0d11c04260a33725aeee814 |
||
---|---|---|
.. | ||
pre-install.d | ||
README.rst |
dib=-python
Adds a symlink to /usr/local/bin/dib-python which points at either a python2 or python3 executable. This is useful for creating #! lines for scripts that are compatible with both python2 and python3.
This does not install a python if one does not exist, and instead fails.