mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update install.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user