diskimage-builder/elements/dib-python
Gregory Haynes 3afbeeaf4e Add dib-python element
Creating an element which we can use in #! lines to refer to either
python2 or python3 depending on what it available.

Change-Id: Ic47e18ad21c33ab9f0d11c04260a33725aeee814
2015-12-10 19:39:38 +00:00
..
pre-install.d Add dib-python element 2015-12-10 19:39:38 +00:00
README.rst Add dib-python element 2015-12-10 19:39:38 +00:00

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.