From 6bb16ce710f1e99add451c1c8a0f1e120ccf3af6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Fri, 24 Oct 2025 08:23:40 +0200 Subject: [PATCH] ipv6 --- npm_install.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/npm_install.py b/npm_install.py index b88f861..1a624b4 100644 --- a/npm_install.py +++ b/npm_install.py @@ -395,10 +395,10 @@ exec sudo -n /usr/sbin/angie "$@" Path("/etc/nginx/conf.d/include").mkdir(parents=True, exist_ok=True) with step("Setting resolver(s) and cache directories"): - write_resolvers_conf(ipv6_enabled) - for p in ["/var/lib/angie/cache/public", "/var/lib/angie/cache/private"]: - Path(p).mkdir(parents=True, exist_ok=True) - os.chmod(p, 0o755) + write_resolvers_conf(ipv6_enabled) + for p in ["/var/lib/angie/cache/public", "/var/lib/angie/cache/private"]: + Path(p).mkdir(parents=True, exist_ok=True) + os.chmod(p, 0o755) with step("Installing corrected systemd unit for Angie"): write_file(Path("/etc/systemd/system/angie.service"), ANGIE_UNIT, 0o644) @@ -753,7 +753,7 @@ def gather_versions(npm_app_version: str): angie_v = run_out(["bash","-lc","angie -v 2>&1 | awk 'NR==1{print $3}'"], check=False).strip() node_v = run_out(["bash","-lc","node -v | sed 's/^v//'"], check=False).strip() yarn_v = run_out(["bash","-lc","yarn -v || yarnpkg -v"], check=False).strip() - return ip, angie_v, node_v, yarn_v, npm_app_versio + return ip, angie_v, node_v, yarn_v, npm_app_version def update_motd(enabled: bool, info, ipv6_enabled: bool): if not enabled: