summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-04-25 15:16:46 +0200
committerMichael Vogt <mvo@debian.org>2014-04-25 15:16:46 +0200
commit697c9314c8ba24f3e393b5de11a3fad7adae4bfc (patch)
tree36e63a73a57e6b31c927d6d1303f3fee7133d8c5 /debian
parent6c50447eb443768764f83b3ba86ef32780ba6dde (diff)
add bash completion for the "apt" command
Diffstat (limited to 'debian')
-rw-r--r--debian/apt.dirs1
-rwxr-xr-xdebian/rules2
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/apt.dirs b/debian/apt.dirs
index 6d492a30f..e4bb2c824 100644
--- a/debian/apt.dirs
+++ b/debian/apt.dirs
@@ -15,3 +15,4 @@ var/lib/apt/mirrors/partial
var/lib/apt/periodic
var/log/apt
usr/share/bug/apt
+usr/share/bash-completion/completions/ \ No newline at end of file
diff --git a/debian/rules b/debian/rules
index eec016607..196761444 100755
--- a/debian/rules
+++ b/debian/rules
@@ -189,6 +189,8 @@ apt: build-binary build-manpages debian/apt.install
cp debian/apt.conf.autoremove debian/$@/etc/apt/apt.conf.d/01autoremove
cp debian/apt.auto-removal.sh debian/$@/etc/kernel/postinst.d/apt-auto-removal
chmod 755 debian/$@/etc/kernel/postinst.d/apt-auto-removal
+ # install bash completion
+ cp share/bash-completions/* debian/$@/usr/share/bash-completion/completions/
# make rosetta happy and remove pot files in po/ (but leave stuff
# in po/domains/* untouched) and cp *.po into each domain dir