summaryrefslogtreecommitdiffstats
path: root/patches/source/whois/whois.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/whois/whois.SlackBuild')
-rwxr-xr-xpatches/source/whois/whois.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/patches/source/whois/whois.SlackBuild b/patches/source/whois/whois.SlackBuild
index 0dd2f2178..6f44de472 100755
--- a/patches/source/whois/whois.SlackBuild
+++ b/patches/source/whois/whois.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2011, 2017, 2018, 2019 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2010, 2011, 2017, 2018, 2019, 2023 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -59,6 +59,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+# Put bash completions in the system directory:
+sed -i "s|/etc/bash_completion.d|/usr/share/bash-completion/completions|g" Makefile
+
make HAVE_LIBIDN2=y || exit
make install install-pos BASEDIR=$PKG || exit 1