Fix install-octopi.sh on Debian Bookworm: replace deprecated python-dev with python3-dev

On Raspberry Pi OS / Debian Bookworm, the package python-dev no longer exists and has been replaced by python3-dev. The current install-octopi.sh script still attempts to install python-dev, causing installation to fail.
This commit is contained in:
FixoLab 2025-12-01 00:25:46 +01:00 committed by GitHub
parent 9c84895a09
commit 9758f659dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,7 +8,7 @@ PYTHONDIR="${HOME}/klippy-env"
install_packages()
{
# Packages for python cffi
PKGLIST="virtualenv python-dev libffi-dev build-essential"
PKGLIST="virtualenv python3-dev libffi-dev build-essential"
# kconfig requirements
PKGLIST="${PKGLIST} libncurses-dev"
# hub-ctrl