mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-08-27 03:46:05 +00:00
- Now Fail2ban goes in /usr/share/fail2ban instead of /usr/lib/fail2ban. This is more compliant with FHS. Thanks to Axel Thimm and Yaroslav Halchenko
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@511 a942ae1a-1317-0410-a47c-b1dcaea8d605
This commit is contained in:
parent
44d75eb54f
commit
ab3d2d1b9a
7 changed files with 18 additions and 8 deletions
9
setup.py
9
setup.py
|
|
@ -28,7 +28,7 @@ __license__ = "GPL"
|
|||
|
||||
from distutils.core import setup
|
||||
from common.version import version
|
||||
from os.path import isfile, join
|
||||
from os.path import isfile, join, isdir
|
||||
from sys import argv
|
||||
from glob import glob
|
||||
|
||||
|
|
@ -113,6 +113,13 @@ if obsoleteFiles:
|
|||
print "\t" + f
|
||||
print
|
||||
|
||||
if isdir("/usr/lib/fail2ban"):
|
||||
print
|
||||
print "Fail2ban is not installed under /usr/lib anymore. The new " \
|
||||
"location is under /usr/share. Please remove the directory " \
|
||||
"/usr/lib/fail2ban and everything under this directory."
|
||||
print
|
||||
|
||||
# Update config file
|
||||
if argv[1] == "install":
|
||||
print
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue