mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
to please Linda and common sense or to be fair - Debian policy, we install .py files into /usr/share, not to /usr/lib
This commit is contained in:
parent
880b6584f2
commit
ddc2d0f708
3 changed files with 2 additions and 4 deletions
2
Makefile
2
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' `
|
||||
|
|
|
|||
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
|
||||
# Appends our own modules path
|
||||
path.append('/usr/lib/fail2ban')
|
||||
path.append('/usr/share/fail2ban')
|
||||
|
||||
|
||||
# Checks for required libs
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
[install]
|
||||
install-purelib=/usr/lib/fail2ban
|
||||
install-purelib=/usr/share/fail2ban
|
||||
|
||||
[sdist]
|
||||
formats=bztar
|
||||
|
|
|
|||
Loading…
Reference in a new issue