aboutsummaryrefslogtreecommitdiff
path: root/network/fail2ban
diff options
context:
space:
mode:
Diffstat (limited to 'network/fail2ban')
-rw-r--r--network/fail2ban/fail2ban.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/fail2ban/fail2ban.SlackBuild b/network/fail2ban/fail2ban.SlackBuild
index d8447e754d7e..3c0c140c90c7 100644
--- a/network/fail2ban/fail2ban.SlackBuild
+++ b/network/fail2ban/fail2ban.SlackBuild
@@ -33,7 +33,7 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-BASH_COMPLETION=${BASH_COMPLETION:-no}
+BASH_COMPLETION=${BASH_COMPLETION:-yes}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -101,7 +101,7 @@ rm -f $PKG/etc/fail2ban/paths-{arch,debian,fedora,freebsd,osx,opensuse}.conf.new
# install bash completion script if requested
if [ "$BASH_COMPLETION" = "yes" ]; then
- install -D -m 0644 files/bash-completion $PKG/etc/bash_completion.d/fail2ban.new
+ install -D -m 0644 files/bash-completion $PKG/usr/share/bash-completion/completions/fail2ban
fi
# install logrotate script