summaryrefslogtreecommitdiff
path: root/libraries/libvirt
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2021-08-01 04:09:51 -0500
committerRobby Workman <rworkman@slackbuilds.org>2021-08-01 04:20:56 -0500
commit1c8e56e29a9b8cb95eeda255dc486d87fe7396ab (patch)
tree0658f28b78498b826f56064f0796d04bddd85bc6 /libraries/libvirt
parentbecd4a6531a48647efe8a68383f4371f9b995bbd (diff)
downloadslackbuilds-1c8e56e29a9b8cb95eeda255dc486d87fe7396ab.tar.gz
libraries/libvirt: detect bash-completion properly
and install the completion file to systemwide directory
Diffstat (limited to 'libraries/libvirt')
-rw-r--r--libraries/libvirt/libvirt.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/libvirt/libvirt.SlackBuild b/libraries/libvirt/libvirt.SlackBuild
index 4f2f7783cd..5b45d4cb55 100644
--- a/libraries/libvirt/libvirt.SlackBuild
+++ b/libraries/libvirt/libvirt.SlackBuild
@@ -47,8 +47,8 @@ VIRTGROUP=${VIRTGROUP:-users}
# Some optional dependencies checks
audit="dis" ; if pkg-config --exists audit ; then audit="en" ; fi
-bash_completion="" ; if pkg-config --exists bash_completion ; then
- bash_completion="-Dbash_completion=enabled -Dbash_completion_dir=/etc/bash_completion.d"
+bash_completion="" ; if pkg-config --exists bash-completion ; then
+ bash_completion="-Dbash_completion=enabled -Dbash_completion_dir=/usr/share/bash-completion/completions"
fi
libiscsi="dis" ; if pkg-config --exists libiscsi ; then libiscsi="en" ; fi