diff options
author | John Hood <cgull@glup.org> | 2015-06-23 23:40:40 -0400 |
---|---|---|
committer | John Hood <cgull@glup.org> | 2015-06-25 01:02:17 -0400 |
commit | dee1a2eecc9a2355d1818205292e403143fc0554 (patch) | |
tree | e933d04ecff9a23c683939adf91d6222afc4e9cd /debian | |
parent | 6a169dc7eaf8c3e1b959ce900bf0b3bcd6a8a116 (diff) |
Improve Debian bash-completion support
* Autoconf queries pkgconf for bash-completion dir-- resolves
lintian's `package-install-into-obsolete-dir` diagnostic
* Use improved completion snippet from
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782169>
* Remove old /etc/bash_completion.d/mosh "conffile" with
dh-maintscript + dpkg-maintscript-helper
Closes #628.
Signed-off-by: John Hood <cgull@glup.org>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/control | 3 | ||||
-rw-r--r-- | debian/mosh.maintscript | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/control b/debian/control index fe645d6..5da4c17 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: mosh Section: net Priority: optional Maintainer: Keith Winstein <keithw@mit.edu> -Build-Depends: debhelper (>= 7.0.50), autotools-dev, protobuf-compiler, libprotobuf-dev, dh-autoreconf, pkg-config, libutempter-dev, zlib1g-dev, libncurses5-dev, libssl-dev +Build-Depends: debhelper (>= 7.0.50), autotools-dev, protobuf-compiler, libprotobuf-dev, dh-autoreconf, pkg-config, libutempter-dev, zlib1g-dev, libncurses5-dev, libssl-dev, bash-completion Standards-Version: 3.9.6.1 Homepage: http://mosh.mit.edu Vcs-Git: git://github.com/keithw/mosh.git @@ -10,6 +10,7 @@ Vcs-Browser: https://github.com/keithw/mosh Package: mosh Architecture: any +Pre-Depends: dpkg (>= 1.15.7.2) Depends: ${shlibs:Depends}, ${misc:Depends}, openssh-client Recommends: libio-socket-ip-perl Description: Mobile shell that supports roaming and intelligent local echo diff --git a/debian/mosh.maintscript b/debian/mosh.maintscript new file mode 100644 index 0000000..ebd49a3 --- /dev/null +++ b/debian/mosh.maintscript @@ -0,0 +1 @@ +rm_conffile /etc/bash_completion.d/mosh 1.2.5~ -- "$@" |