mirror of https://github.com/fail2ban/fail2ban
to please Linda and common sense or to be fair - Debian policy, we install .py files into /usr/share, not to /usr/lib
parent
880b6584f2
commit
ddc2d0f708
2
Makefile
2
Makefile
|
@ -13,8 +13,6 @@ install:: all
|
||||||
python setup.py install --root=debian/fail2ban/
|
python setup.py install --root=debian/fail2ban/
|
||||||
cp config/fail2ban.conf.default $(DESTDIR)/etc/fail2ban.conf
|
cp config/fail2ban.conf.default $(DESTDIR)/etc/fail2ban.conf
|
||||||
cp config/gentoo-confd $(DESTDIR)/etc/default/fail2ban
|
cp config/gentoo-confd $(DESTDIR)/etc/default/fail2ban
|
||||||
mkdir -p $(DESTDIR)/usr/lib/fail2ban/
|
|
||||||
# cp log4py.py $(DESTDIR)/usr/lib/fail2ban/
|
|
||||||
|
|
||||||
clean::
|
clean::
|
||||||
rm -rf changelog.gz fail2ban.1x build* `find -iname '*.pyc' `
|
rm -rf changelog.gz fail2ban.1x build* `find -iname '*.pyc' `
|
||||||
|
|
2
fail2ban
2
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
|
#yoh: We do need to load this path first if we ship log4py with fail2ban
|
||||||
# Appends our own modules path
|
# Appends our own modules path
|
||||||
path.append('/usr/lib/fail2ban')
|
path.append('/usr/share/fail2ban')
|
||||||
|
|
||||||
|
|
||||||
# Checks for required libs
|
# Checks for required libs
|
||||||
|
|
Loading…
Reference in New Issue