]> Git Repo - VerusCoin.git/commitdiff
Add bash completion files to Debian package
authorJack Grigg <[email protected]>
Fri, 2 Dec 2016 04:12:38 +0000 (17:12 +1300)
committerJack Grigg <[email protected]>
Fri, 2 Dec 2016 04:12:38 +0000 (17:12 +1300)
zcutil/build-debian-package.sh

index 5691f2372099b9daf5180fde446e041aa20aa4c8..8d063399eb1160cb28d154a70e80b2e4cfb60d62 100755 (executable)
@@ -23,10 +23,11 @@ if [ -d $BUILD_DIR ]; then
     rm -R $BUILD_DIR
 fi
 
+DEB_CMP=$BUILD_DIR/etc/bash_completion.d
 DEB_BIN=$BUILD_DIR/usr/bin
 DEB_DOC=$BUILD_DIR/usr/share/doc/$PACKAGE_NAME
 DEB_MAN=$BUILD_DIR/usr/share/man/man1
-mkdir -p $BUILD_DIR/DEBIAN $DEB_BIN $DEB_DOC $DEB_MAN
+mkdir -p $BUILD_DIR/DEBIAN $DEB_CMP $DEB_BIN $DEB_DOC $DEB_MAN
 chmod 0755 -R $BUILD_DIR/*
 
 # Copy control file
@@ -48,6 +49,9 @@ cp -r $SRC_DEB/examples $DEB_DOC
 # Copy manpages
 cp $SRC_DEB/manpages/zcashd.1 $DEB_MAN
 cp $SRC_DEB/manpages/zcash-cli.1 $DEB_MAN
+# Copy bash completion files
+cp $SRC_PATH/contrib/bitcoind.bash-completion $DEB_CMP/zcashd
+cp $SRC_PATH/contrib/bitcoin-cli.bash-completion $DEB_CMP/zcash-cli
 # Gzip files
 gzip --best -n $DEB_DOC/changelog
 gzip --best -n $DEB_DOC/changelog.Debian
This page took 0.029957 seconds and 4 git commands to generate.