chore(scripts): check for existing Python installation
All checks were successful
Auto Changelog & Release / release (push) Successful in 14s

This commit is contained in:
2025-09-27 22:09:09 +02:00
parent 4bd419d38f
commit 94980be3e5

View File

@@ -3,6 +3,11 @@
# Usage: sudo ./install-python.sh
set -euo pipefail
if command -v python3 >/dev/null 2>&1; then
echo "ℹ️ Python $(python3 --version) is already installed"
exit 0
fi
apt update
apt install -y python3