--- a/contrib/debian/rules Tue Sep 22 14:32:17 2015 -0400
+++ b/contrib/debian/rules Tue Sep 22 14:47:18 2015 -0400
@@ -31,4 +31,6 @@
cp contrib/hgk $(CURDIR)/debian/mercurial-common/usr/share/mercurial
mkdir -p $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/
cp contrib/debian/*.rc $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/
+ mkdir -p $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions
+ cp contrib/bash_completion $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions/mercurial
rm $(CURDIR)/debian/mercurial-common/usr/bin/hg