diff --git a/Makefile b/Makefile index c7508975..8af510bc 100644 --- a/Makefile +++ b/Makefile @@ -13,8 +13,6 @@ install:: all python setup.py install --root=debian/fail2ban/ cp config/fail2ban.conf.default $(DESTDIR)/etc/fail2ban.conf cp config/gentoo-confd $(DESTDIR)/etc/default/fail2ban - mkdir -p $(DESTDIR)/usr/lib/fail2ban/ -# cp log4py.py $(DESTDIR)/usr/lib/fail2ban/ clean:: rm -rf changelog.gz fail2ban.1x build* `find -iname '*.pyc' ` diff --git a/fail2ban b/fail2ban index d209ffe8..4eed359f 100755 --- a/fail2ban +++ b/fail2ban @@ -30,7 +30,7 @@ from sys import exit, path #yoh: We do need to load this path first if we ship log4py with fail2ban # Appends our own modules path -path.append('/usr/lib/fail2ban') +path.append('/usr/share/fail2ban') # Checks for required libs diff --git a/setup.cfg b/setup.cfg index fba97f88..cdc25b29 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [install] -install-purelib=/usr/lib/fail2ban +install-purelib=/usr/share/fail2ban [sdist] formats=bztar