From ddc2d0f7083c259c1459ba3c97a5a08606dbd2ae Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sun, 17 Jul 2005 03:38:51 +0000 Subject: [PATCH] to please Linda and common sense or to be fair - Debian policy, we install .py files into /usr/share, not to /usr/lib --- Makefile | 2 -- fail2ban | 2 +- setup.cfg | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) 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