Fix fedora 39 support.

This commit is contained in:
Sleepy Monax 2024-01-29 11:51:30 +01:00
parent 3dcca6591b
commit 2f8b35f79e
2 changed files with 6 additions and 2 deletions

View file

@ -6,7 +6,11 @@
set -e set -e
if [ -z "$CUTEKIT_PYTHON" ]; then if [ -z "$CUTEKIT_PYTHON" ]; then
export CUTEKIT_PYTHON="python3.11" if command -v python3.11 &> /dev/null; then
export CUTEKIT_PYTHON="python3.11"
else
export CUTEKIT_PYTHON="python3"
fi
fi fi
if [ ! -d "/tools/venv" ]; then if [ ! -d "/tools/venv" ]; then

View file

@ -71,7 +71,7 @@ IMAGES: dict[str, Image] = {
"fedora:39", "fedora:39",
[ [
"dnf update -y", "dnf update -y",
"dnf install -y python3 python3-pip python3-venv ninja-build make automake gcc gcc-c++ kernel-devel", "dnf install -y python3 python3-pip ninja-build make automake gcc gcc-c++ kernel-devel",
], ],
), ),
} }