Test CLI installer on Rocky (#10134)

* Test CLI installer on Rocky

* Add Rocky support to install.sh

* Update test-install-scripts.yml

* oops

* also sudo for rocky install.sh testing

* fix indentation

* oops
This commit is contained in:
Kyle Altendorf
2022-02-14 22:24:19 -08:00
committed by GitHub
parent ae9b7f4e7d
commit bd845f5d3a
2 changed files with 12 additions and 0 deletions
+4
View File
@@ -160,6 +160,10 @@ if [ "$(uname)" = "Linux" ]; then
if ! command -v python3.9 >/dev/null 2>&1; then
install_python3_and_sqlite3_from_source_with_yum
fi
elif type yum >/dev/null 2>&1 && [ -f "/etc/redhat-release" ] && grep Rocky /etc/redhat-release; then
echo "Installing on Rocky."
# TODO: make this smarter about getting the latest version
sudo yum install --assumeyes python39
elif type yum >/dev/null 2>&1 && [ -f "/etc/redhat-release" ] || [ -f "/etc/fedora-release" ]; then
# Redhat or Fedora
echo "Installing on Redhat/Fedora."