mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-08-24 10:05:29 -05:00
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:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user