push changes
This commit is contained in:
@@ -213,7 +213,7 @@ def validate_supported_os():
|
|||||||
|
|
||||||
# Debian derivatives
|
# Debian derivatives
|
||||||
'proxmox': ['7', '8', '9'],
|
'proxmox': ['7', '8', '9'],
|
||||||
'devuan': ['4', '5'],
|
'devuan': ['4', '5', '6'],
|
||||||
'armbian': ['23.02', '24.02'],
|
'armbian': ['23.02', '24.02'],
|
||||||
'mx': ['21', '23'],
|
'mx': ['21', '23'],
|
||||||
'kali': ['2023.1', '2024.1'],
|
'kali': ['2023.1', '2024.1'],
|
||||||
@@ -254,6 +254,10 @@ def validate_supported_os():
|
|||||||
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 may work but is not officially tested.")
|
||||||
|
print(f" Prerequisites:")
|
||||||
|
print(f" • Angie packages must be available for your distribution")
|
||||||
|
print(f" • Check: https://en.angie.software/angie/docs/installation/oss_packages/")
|
||||||
|
print(f" • Your system should be Debian/Ubuntu compatible (apt-based)")
|
||||||
|
|
||||||
response = input("\n Continue anyway? [y/N]: ").strip().lower()
|
response = input("\n Continue anyway? [y/N]: ").strip().lower()
|
||||||
if response not in ['y', 'yes']:
|
if response not in ['y', 'yes']:
|
||||||
@@ -263,7 +267,6 @@ def validate_supported_os():
|
|||||||
else:
|
else:
|
||||||
print(f"✓ Supported OS detected: {OSREL.get('PRETTY', 'Unknown')}\n")
|
print(f"✓ Supported OS detected: {OSREL.get('PRETTY', 'Unknown')}\n")
|
||||||
|
|
||||||
|
|
||||||
def comment_x_served_by_step(path="/etc/angie/conf.d/include/proxy.conf"):
|
def comment_x_served_by_step(path="/etc/angie/conf.d/include/proxy.conf"):
|
||||||
p = Path(path)
|
p = Path(path)
|
||||||
if not p.exists():
|
if not p.exists():
|
||||||
|
|||||||
Reference in New Issue
Block a user