debian: install bash completion as hg and not mercurial (
issue4900)
--- a/contrib/debian/rules Wed Oct 14 12:57:33 2015 -0400
+++ b/contrib/debian/rules Wed Oct 14 14:53:15 2015 -0400
@@ -32,5 +32,5 @@
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
+ cp contrib/bash_completion $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions/hg
rm $(CURDIR)/debian/mercurial-common/usr/bin/hg