Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpejcic authored Feb 10, 2025
1 parent 10daa3a commit 2f2fde7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1534,8 +1534,7 @@ install_python312() {
OS=$(grep '^ID=' /etc/os-release | cut -d= -f2 | tr -d '"')

if command -v python3.12 &> /dev/null; then
#echo "Python 3.12 is already installed. Version: $(python3.12 --version)"
echo "Installing python3.12-venv.."
echo "Python 3.12 is already installed, installing python3.12-venv.."


# install venv only!
Expand All @@ -1554,7 +1553,7 @@ Components: main
Signed-By: /etc/apt/keyrings/deb-pascalroeleven.gpg
EOF
fi
debug_log $PACKAGE_MANAGER update
debug_log $PACKAGE_MANAGER update -y
debug_log $PACKAGE_MANAGER install -y python3.12-venv

else
Expand All @@ -1578,7 +1577,7 @@ EOF

dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm &> /dev/null

debug_log $PACKAGE_MANAGER update
debug_log $PACKAGE_MANAGER update -y
debug_log $PACKAGE_MANAGER install -y python3.12 # venv is included!

fi
Expand Down

0 comments on commit 2f2fde7

Please sign in to comment.