openvswitch: let installShellCompletion detect shell type by extension

Signed-off-by: Ihar Hrachyshka <ihrachyshka@nvidia.com>
This commit is contained in:
Ihar Hrachyshka
2025-09-16 12:43:25 -04:00
parent b97477410b
commit e1e73aeb4b
+2 -2
View File
@@ -102,8 +102,8 @@ stdenv.mkDerivation rec {
postInstall = ''
# Install bash completions in correct location
rm -f $out/etc/bash_completion.d/ovs-*.bash
installShellCompletion --bash utilities/ovs-appctl-bashcomp.bash
installShellCompletion --bash utilities/ovs-vsctl-bashcomp.bash
installShellCompletion utilities/ovs-appctl-bashcomp.bash
installShellCompletion utilities/ovs-vsctl-bashcomp.bash
mkdir -p $tools/{bin,share/openvswitch/scripts}
mv $out/share/openvswitch/bugtool-plugins $tools/share/openvswitch