Add support for Ubuntu 20.04 and newer 83/65083/1
authorThanh Ha <zxiiro@gmail.com>
Thu, 13 Aug 2020 22:17:38 +0000 (18:17 -0400)
committerThanh Ha <zxiiro@gmail.com>
Thu, 13 Aug 2020 22:17:38 +0000 (18:17 -0400)
commit00618d9fe3ea5abeee13be56e942d233d4071d7e
tree2ec0f6bbe9ac101136fe4c3f34a83803c83d98ce
parenta34a25187d428d6f5c9c6a19bb2b63b6c2688320
Add support for Ubuntu 20.04 and newer

Ubuntu 20.04 no longer has python-* packages and instead the packages
are now more explicitly either python2-* or python3-* with packages
named python-is-python[23] to set the default. This patch when run
on Ubuntu systems will check if python-is-python3 is available and
installs that as the system python version, otherwise installs
python-minimal.

Also adjust the comments since they are no longer accurate or in the
right places.

Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I830e0250ddbee395fdeddd78fcc7824f7855d75d
provision/install-python.sh