diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2021-08-01 04:06:24 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-08-01 04:20:56 -0500 |
commit | b9eea4d96c185c7169734ee5cef6bab46d90f549 (patch) | |
tree | 14f0bdeea4c33190672c1878b512b1eddcdca72d | |
parent | 2413dcc3cc4b962f06645caa1f27cb2a2beb5a6b (diff) |
network/fail2ban: Install bash completion by default
and put the file in the systemwide directory
-rw-r--r-- | network/fail2ban/fail2ban.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network/fail2ban/fail2ban.SlackBuild b/network/fail2ban/fail2ban.SlackBuild index d8447e754d7ee..3c0c140c90c7a 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 |