Mercurial > hg
changeset 26299:79e1064f7c5e
debian: install hgk as part of mercurial-common (issue4829)
Leaving the hgk binary in /usr/bin causes some lintian warnings, and
downstream packages poke it in /usr/share/mercurial, so we'll just
stash it in there. Rather than patch hgk.py as part of the Mercurial
install, just drop a config file in /etc/mercurial/hgrc.d that points
to the installed hgk.
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 22 Sep 2015 14:32:17 -0400 |
parents | 346afebd8fa9 |
children | f946c1260035 |
files | contrib/debian/hgkpath.rc contrib/debian/rules |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/contrib/debian/hgkpath.rc Tue Sep 22 14:32:17 2015 -0400 @@ -0,0 +1,2 @@ +[hgk] +path = /usr/share/mercurial/hgk
--- a/contrib/debian/rules Tue Sep 22 14:14:05 2015 -0400 +++ b/contrib/debian/rules Tue Sep 22 14:32:17 2015 -0400 @@ -27,6 +27,8 @@ -name '*.so' ! -type d -delete , \ -type d -empty -delete cp contrib/hg-ssh $(CURDIR)/debian/mercurial-common/usr/bin + mkdir -p $(CURDIR)/debian/mercurial-common/usr/share/mercurial + 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/ rm $(CURDIR)/debian/mercurial-common/usr/bin/hg