summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author Robby Workman2021-08-01 11:06:24 +0200
committer Robby Workman2021-08-01 11:20:56 +0200
commitb9eea4d96c185c7169734ee5cef6bab46d90f549 (patch)
tree14f0bdeea4c33190672c1878b512b1eddcdca72d /network
parent2413dcc3cc4b962f06645caa1f27cb2a2beb5a6b (diff)
downloadslackbuilds-b9eea4d96c185c7169734ee5cef6bab46d90f549.tar.gz
network/fail2ban: Install bash completion by default
and put the file in the systemwide directory
Diffstat (limited to 'network')
-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 d8447e754d..3c0c140c90 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