Update install-python.sh for Ubuntu 24.04+ 00/73500/1 v0.16.8
authorEric Ball <eball@linuxfoundation.org>
Wed, 11 Jun 2025 22:06:56 +0000 (15:06 -0700)
committerEric Ball <eball@linuxfoundation.org>
Wed, 11 Jun 2025 22:13:21 +0000 (15:13 -0700)
commitdc3072c68fe3f168a3f25066799bf329aeda84b3
treefea8a1b94d8bc42203f5dc07280575bc42338cec
parent5407e180e66c8331e8145195fc9e320cedb08b0c
Update install-python.sh for Ubuntu 24.04+

Running install-python.sh on Ubuntu 24.04 fails during the netselect/
select_fastest step. This can be safely skipped on 24.04, but is still
useful up to 22.04, so we check lsb-release for a DISTRIB_RELEASE
major version less than 24.04 before entering the step.

This also includes a small fix to indentation in the case block (lines
were previously indented to 3 spaces instead of 4).

Change-Id: I4ffb398d78abcd3cf1bd1ec14a034b21d66ebab3
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
provision/install-python.sh