Update install.sh

This commit is contained in:
Stefan Pejcic
2025-01-19 12:20:16 +01:00
committed by GitHub
parent 4f7975fda3
commit dd60cb156e

View File

@@ -1435,6 +1435,13 @@ panel_customize(){
install_python312() {
if command -v python3.12 &> /dev/null; then
echo "Python 3.12 is already installed. Version: $(python3.12 --version)"
# install venv only!
debug_log $PACKAGE_MANAGER install -y software-properties-common
debug_log add-apt-repository -y ppa:deadsnakes/ppa
debug_log $PACKAGE_MANAGER update
debug_log $PACKAGE_MANAGER install -y python3.12-venv
else
echo "Installing Python 3.12"
debug_log $PACKAGE_MANAGER install -y software-properties-common