From b9eea4d96c185c7169734ee5cef6bab46d90f549 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sun, 1 Aug 2021 04:06:24 -0500 Subject: network/fail2ban: Install bash completion by default and put the file in the systemwide directory --- network/fail2ban/fail2ban.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'network') 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 -- cgit v1.2.3