to please Linda and common sense or to be fair - Debian policy, we install .py files into /usr/share, not to /usr/lib

debian-releases/etch
Yaroslav Halchenko 2005-07-17 03:38:51 +00:00
parent 880b6584f2
commit ddc2d0f708
3 changed files with 2 additions and 4 deletions

View File

@ -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' `

View File

@ -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

View File

@ -1,5 +1,5 @@
[install]
install-purelib=/usr/lib/fail2ban
install-purelib=/usr/share/fail2ban
[sdist]
formats=bztar