mirror of
https://github.com/tw93/Mole.git
synced 2026-03-24 04:55:07 +00:00
refactor: Update shell arithmetic increment syntax from ((var++)) || true to var=$((var + 1)) across various scripts.
This commit is contained in:
@@ -70,7 +70,7 @@ manage_purge_paths() {
|
||||
line="${line#"${line%%[![:space:]]*}"}"
|
||||
line="${line%"${line##*[![:space:]]}"}"
|
||||
[[ -z "$line" || "$line" =~ ^# ]] && continue
|
||||
((custom_count++)) || true
|
||||
custom_count=$((custom_count + 1))
|
||||
done < "$PURGE_PATHS_CONFIG"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user