fix install v2.15.X
This commit is contained in:
+2
-2
@@ -726,13 +726,13 @@ def validate_supported_os():
|
||||
distro_id = OSREL.get("ID", "").lower()
|
||||
version_id = OSREL.get("VERSION_ID", "").strip()
|
||||
|
||||
SUPPORTED = {"debian": ["11", "12", "13"], "ubuntu": ["20.04", "22.04", "24.04"]}
|
||||
SUPPORTED = {"debian": ["12", "13"], "ubuntu": ["20.04", "22.04", "24.04"]}
|
||||
|
||||
if distro_id not in SUPPORTED:
|
||||
print(f"\n ⚠ ERROR: Unsupported distribution: {distro_id}")
|
||||
print(f" Detected: {OSREL.get('PRETTY', 'Unknown')}")
|
||||
print(f"\n Supported distributions:")
|
||||
print(f" • Debian 11 (Bullseye), 12 (Bookworm), 13 (Trixie)")
|
||||
print(f" • Debian 12 (Bookworm), 13 (Trixie)")
|
||||
print(f" • Ubuntu 20.04 LTS, 22.04 LTS, 24.04 LTS")
|
||||
print(f" • Debian derivatives: Proxmox, armbian")
|
||||
print(f"\n Your distribution may work but is not tested.")
|
||||
|
||||
Reference in New Issue
Block a user