diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2015-08-21 12:18:36 +0200 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2015-08-21 12:29:52 +0200 |
commit | 8ad731785f0f6acf148985b54e981872ae7c636d (patch) | |
tree | 7acaa39f71ca474575be59ee021740f381d21ec2 | |
parent | da2159f1c784fd0233756bd232561c97fd5c49ec (diff) |
bash-completion: Install using dh_bash-completion
Installing in /etc/bash_completion.d is deprecated. Use
dh_bash-completion to do the right thing.
(dh_bash-completion doesn't currently do the right thing, but
it will do soon: https://bugs.debian.org/668254 )
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | debian/initramfs-tools.bash-completion | 1 | ||||
-rw-r--r-- | debian/initramfs-tools.install | 1 | ||||
-rwxr-xr-x | debian/rules | 2 |
4 files changed, 3 insertions, 3 deletions
diff --git a/debian/control b/debian/control index 5ff8b0d..43369e9 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: utils Priority: optional Uploaders: maximilian attems <maks@debian.org>, Michael Prokop <mika@debian.org>, Adam Conrad <adconrad@0c3.net>, Ben Hutchings <ben@decadent.org.uk> Maintainer: Debian kernel team <debian-kernel@lists.debian.org> -Build-Depends: debhelper (>= 7.0) +Build-Depends: debhelper (>= 7.0), bash-completion Standards-Version: 3.9.6 Vcs-Browser: http://git.debian.org/?p=kernel/initramfs-tools.git Vcs-Git: git://git.debian.org/git/kernel/initramfs-tools.git diff --git a/debian/initramfs-tools.bash-completion b/debian/initramfs-tools.bash-completion new file mode 100644 index 0000000..14d3d16 --- /dev/null +++ b/debian/initramfs-tools.bash-completion @@ -0,0 +1 @@ +bash_completion.d/initramfs-tools diff --git a/debian/initramfs-tools.install b/debian/initramfs-tools.install index 25d7990..585d4b9 100644 --- a/debian/initramfs-tools.install +++ b/debian/initramfs-tools.install @@ -11,4 +11,3 @@ update-initramfs usr/sbin debian/script usr/share/bug/initramfs-tools debian/lintian/initramfs-tools usr/share/lintian/overrides kernel etc -bash_completion.d etc diff --git a/debian/rules b/debian/rules index 2d33f6a..e6e920c 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,4 @@ #!/usr/bin/make -f %: - dh $@ + dh --with bash-completion $@ |