Ticket #34229: patch-fail2ban-regex.diff

File patch-fail2ban-regex.diff, 661 bytes (added by fclaire@…, 13 years ago)
  • fail2ban-regex

    old new  
    2929
    3030# Inserts our own modules path first in the list
    3131# fix for bug #343821
    32 sys.path.insert(1, "/usr/share/fail2ban")
     32sys.path.insert(1, "@@PREFIX@@/share/fail2ban")
    3333
    3434from client.configparserinc import SafeConfigParserWithIncludes
    3535from ConfigParser import NoOptionError, NoSectionError, MissingSectionHeaderError
     
    6666       
    6767        test = None
    6868
    69         CONFIG_DEFAULTS = {'configpath' : "/etc/fail2ban/"}
     69        CONFIG_DEFAULTS = {'configpath' : "@@PREFIX@@/etc/fail2ban/"}
    7070
    7171        def __init__(self):
    7272                self.__filter = Filter(None)