fail2ban: brew style --fix

This commit is contained in:
Mike McQuaid 2019-10-15 09:00:30 +01:00
parent 4f330b5e6a
commit 58ea2ffe47
No known key found for this signature in database
GPG key ID: 48A898132FD8EE70

View file

@ -19,7 +19,7 @@ class Fail2ban < Formula
rm "setup.cfg"
Dir["config/paths-*.conf"].each do |r|
next if File.basename(r) =~ /paths-common\.conf|paths-osx\.conf/
next if /paths-common\.conf|paths-osx\.conf/.match?(File.basename(r))
rm r
end