push changes
This commit is contained in:
@@ -209,24 +209,7 @@ def validate_supported_os():
|
|||||||
|
|
||||||
SUPPORTED = {
|
SUPPORTED = {
|
||||||
'debian': ['11', '12', '13'],
|
'debian': ['11', '12', '13'],
|
||||||
'ubuntu': ['20.04', '22.04', '24.04'],
|
'ubuntu': ['20.04', '22.04', '24.04']
|
||||||
|
|
||||||
# Debian derivatives
|
|
||||||
'proxmox': ['7', '8', '9'],
|
|
||||||
'devuan': ['4', '5', '6'],
|
|
||||||
'armbian': ['23.02', '24.02'],
|
|
||||||
'mx': ['21', '23'],
|
|
||||||
'kali': ['2023.1', '2024.1'],
|
|
||||||
'parrot': ['5', '6'],
|
|
||||||
|
|
||||||
# Ubuntu derivatives
|
|
||||||
'pop': ['20.04', '22.04'],
|
|
||||||
'mint': ['20', '21', '22'],
|
|
||||||
'zorin': ['16', '17'],
|
|
||||||
'elementary': ['6', '7'],
|
|
||||||
'kubuntu': ['20.04', '22.04', '24.04'],
|
|
||||||
'xubuntu': ['20.04', '22.04', '24.04'],
|
|
||||||
'lubuntu': ['20.04', '22.04', '24.04'],
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if distro_id not in SUPPORTED:
|
if distro_id not in SUPPORTED:
|
||||||
@@ -235,9 +218,8 @@ def validate_supported_os():
|
|||||||
print(f"\n Supported distributions:")
|
print(f"\n Supported distributions:")
|
||||||
print(f" • Debian 11 (Bullseye), 12 (Bookworm), 13 (Trixie)")
|
print(f" • Debian 11 (Bullseye), 12 (Bookworm), 13 (Trixie)")
|
||||||
print(f" • Ubuntu 20.04 LTS, 22.04 LTS, 24.04 LTS")
|
print(f" • Ubuntu 20.04 LTS, 22.04 LTS, 24.04 LTS")
|
||||||
print(f" • Debian derivatives: Proxmox VE, Devuan, MX Linux, Kali, Parrot")
|
print(f" • Debian derivatives: Proxmox, armbian")
|
||||||
print(f" • Ubuntu derivatives: Linux Mint, Pop!_OS, Zorin, elementary OS")
|
print(f"\n Your distribution may work but is not tested.")
|
||||||
print(f"\n Your distribution may work but is not officially tested.")
|
|
||||||
print(f" Continue at your own risk or install on a supported system.\n")
|
print(f" Continue at your own risk or install on a supported system.\n")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
@@ -253,7 +235,7 @@ def validate_supported_os():
|
|||||||
print(f"\n ⚠ WARNING: Unsupported version of {distro_id}: {version_id}")
|
print(f"\n ⚠ WARNING: Unsupported version of {distro_id}: {version_id}")
|
||||||
print(f" Detected: {OSREL.get('PRETTY', 'Unknown')}")
|
print(f" Detected: {OSREL.get('PRETTY', 'Unknown')}")
|
||||||
print(f" Supported versions: {', '.join(supported_versions)}")
|
print(f" Supported versions: {', '.join(supported_versions)}")
|
||||||
print(f"\n This version may work but is not officially tested.")
|
print(f"\n This version is not officially tested.")
|
||||||
print(f" Prerequisites:")
|
print(f" Prerequisites:")
|
||||||
print(f" • Angie packages must be available for your distribution")
|
print(f" • Angie packages must be available for your distribution")
|
||||||
print(f" • Check: https://en.angie.software/angie/docs/installation/oss_packages/")
|
print(f" • Check: https://en.angie.software/angie/docs/installation/oss_packages/")
|
||||||
|
|||||||
Reference in New Issue
Block a user