From 0f4f203fa37d3aefae456069ae00708d845b8d72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Numbus?= Date: Sun, 26 Apr 2026 11:20:26 +0200 Subject: [PATCH] Fixed increment logic. --- deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index df9707e..74c984a 100755 --- a/deploy.sh +++ b/deploy.sh @@ -26,14 +26,14 @@ compatibility_check() { if [[ -r /etc/os-release ]] && grep -qi '^ID=nixos\b' /etc/os-release; then echod "\n ✅ NixOS system detected." else - ((TEST_FAIL++)) + TEST_FAIL=$((TEST_FAIL + 1)) echo "\n ❌ You are not on a NixOS based system. This is required to continue." fi if [[ "$(uname -m)" == "x86_64" ]]; then echod "\n ✅ x86_64 system detected." else - ((TEST_FAIL++)) + TEST_FAIL=$((TEST_FAIL + 1)) echo "\n ❌ You are not on a x86_64 based system. This is required to continue." fi