summaryrefslogtreecommitdiffstats
path: root/conf.d/packaging/deb/debian.rules
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-06 18:39:00 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-07 22:06:02 +0200
commite0faa97416aee22fa0c09f75a4040bb2bb16e2dd (patch)
treee9687d481c219a458a7ac5c39feface3c9d779d9 /conf.d/packaging/deb/debian.rules
parentc8f5f5a7097254496b9dc8ddb458cf1fdb7169da (diff)
Update/fix rpm and deb packagingflounder_5.99.2flounder/5.99.25.99.2
Change-Id: I576c7c02def683dc3028194e68416bfc0b167067 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
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