diff options
Diffstat (limited to '')
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | debian/patches/bash-completion-debian-rename.patch | 20 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rwxr-xr-x | debian/rules | 2 |
5 files changed, 24 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index 733bcaa..20d04a3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ transmission-remote-cli (1.3-1) UNRELEASED; urgency=low * New upstream release - Add support for Transmission 2.52 + - Add bash completion file * Bump debhelper to v9 -- Jonathan McCrohan <jmccrohan@gmail.com> Thu, 24 May 2012 00:46:03 +0100 diff --git a/debian/control b/debian/control index 80251a8..f81207f 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: transmission-remote-cli Section: net Priority: optional Maintainer: Jonathan McCrohan <jmccrohan@gmail.com> -Build-Depends: debhelper (>= 9) +Build-Depends: debhelper (>= 9), bash-completion Standards-Version: 3.9.3 Homepage: https://github.com/fagga/transmission-remote-cli diff --git a/debian/patches/bash-completion-debian-rename.patch b/debian/patches/bash-completion-debian-rename.patch new file mode 100644 index 0000000..6bdd589 --- /dev/null +++ b/debian/patches/bash-completion-debian-rename.patch @@ -0,0 +1,20 @@ +Description: Rename Bash completion function to conform to Debian name +Author: Jonathan McCrohan <jmccrohan@gmail.com> +Date: Fri May 25 01:33:32 IST 2012 +--- +--- transmission-remote-cli-1.3.orig/transmission-remote-cli-bash-completion.sh ++++ transmission-remote-cli-1.3/transmission-remote-cli-bash-completion.sh +@@ -1,6 +1,6 @@ + #!/bin/bash + +-_transmission-remote-cli.py () { ++_transmission-remote-cli () { + local cur prev opts + + _get_comp_words_by_ref cur prev +@@ -14,4 +14,4 @@ _transmission-remote-cli.py () { + fi + } + +-complete -F _transmission-remote-cli.py transmission-remote-cli.py ++complete -F _transmission-remote-cli transmission-remote-cli diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..f71ba2f --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +bash-completion-debian-rename.patch diff --git a/debian/rules b/debian/rules index 7bc28e4..edae779 100755 --- a/debian/rules +++ b/debian/rules @@ -13,4 +13,4 @@ override_dh_installchangelogs: dh_installchangelogs -k NEWS %: - dh $@ + dh $@ --with bash-completion |