mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 16:49:41 +00:00
Do not clean up the system panel cache
This commit is contained in:
@@ -1800,10 +1800,11 @@ bundle_matches_pattern() {
|
||||
|
||||
[[ -z "$pattern" ]] && return 1
|
||||
|
||||
# shellcheck disable=SC2254 # allow glob pattern matching for bundle rules
|
||||
case "$bundle_id" in
|
||||
$pattern) return 0 ;;
|
||||
esac
|
||||
# Use bash [[ ]] for glob pattern matching (works with variables in bash 3.2+)
|
||||
# shellcheck disable=SC2053 # allow glob pattern matching
|
||||
if [[ "$bundle_id" == $pattern ]]; then
|
||||
return 0
|
||||
fi
|
||||
return 1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user