mirror of
https://github.com/tw93/Mole.git
synced 2026-03-23 17:35:10 +00:00
refactor: Update shell arithmetic increment syntax from ((var++)) || true to var=$((var + 1)) across various scripts.
This commit is contained in:
@@ -302,7 +302,7 @@ ${GRAY}Edit: ${display_config}${NC}"
|
||||
cache_patterns+=("$pattern")
|
||||
menu_options+=("$display_name")
|
||||
|
||||
((index++)) || true
|
||||
index=$((index + 1))
|
||||
done <<< "$items_source"
|
||||
|
||||
# Identify custom patterns (not in predefined list)
|
||||
|
||||
Reference in New Issue
Block a user