From a7f7a23083464d5ee9c5910806d8d6fa02771d3c Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 18 Sep 2025 12:10:21 +0200 Subject: [PATCH] fix: Shellcheck warn about arithmetic operation --- src/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/install.sh b/src/install.sh index be1aaa9..dc8cc0a 100644 --- a/src/install.sh +++ b/src/install.sh @@ -28,7 +28,7 @@ backup () { while [ -d "$dir" ] do - count=$[$count +1] + count=$((count+1)) folder="${name}.${count}" dir="$root/$folder" done