Fixed increment logic.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user