aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/packaging/deb/debian.rules
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/packaging/deb/debian.rules')
-rw-r--r--conf.d/packaging/deb/debian.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf.d/packaging/deb/debian.rules b/conf.d/packaging/deb/debian.rules
index a1b4a6a..121ccec 100644
--- a/conf.d/packaging/deb/debian.rules
+++ b/conf.d/packaging/deb/debian.rules
@@ -62,6 +62,10 @@ install: build
mkdir -p $(DEB_BASE_DIR)/etc/profile.d
sed -e "s;@XDS_INSTALL_BIN_DIR@;$(INSTALL_BIN_DIR);g" $(DEB_INSTALL_XDS_DIR)/conf.d/etc/profile.d/xds-cli.sh > $(DEB_BASE_DIR)/etc/profile.d/$(NAME).sh
+ # Add bash_completion file
+ mkdir -p $(DEB_BASE_DIR)/etc/bash_completion.d
+ cp $(DEB_INSTALL_XDS_DIR)/conf.d/etc/bash_completion.d/xds-cli $(DEB_BASE_DIR)/etc/bash_completion.d/
+
# Cleanup
rm -rf $(DEB_INSTALL_XDS_DIR)/scripts $(DEB_INSTALL_XDS_DIR)/conf.d