From d8dd2da6a778349bc1ae45235e162bfb425e97ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Sat, 6 Jun 2026 00:51:56 +0200 Subject: [PATCH] fix install v2.15.X --- README.md | 2 +- npm_install.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a0b516d..ca55617 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Base URL: **https://git.linuxiarz.pl/gru/npm-angie-auto-install** --- ## Requirements -- Debian 11+ / Ubuntu 20.04+ +- Debian 12+ / Ubuntu 20.04+ - `curl`, `python3`, `sudo` - Network access to fetch packages and Node/Yarn artifacts. diff --git a/npm_install.py b/npm_install.py index 92cb1ab..c864d3c 100644 --- a/npm_install.py +++ b/npm_install.py @@ -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.")