[Bash-completion-commits] [debian] 11/19: dpkg_fix_-W_option.patch: -W|--show doesn't support udebs/ddebs, thanks to Luca Capello (Closes: #697513)
David Paleino
dapal at debian.org
Wed Mar 19 10:51:46 UTC 2014
This is an automated email from the git hooks/post-receive script.
dapal pushed a commit to branch master
in repository debian.
commit 3fb2eddf338206d539fc91b94d87b254d0d3305f
Author: David Paleino <dapal at debian.org>
Date: Wed Mar 19 11:14:54 2014 +0100
dpkg_fix_-W_option.patch: -W|--show doesn't support udebs/ddebs, thanks to Luca Capello (Closes: #697513)
---
debian/changelog | 4 +++-
debian/patches/08-dpkg_fix_-W_option.patch | 33 ++++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 37 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index bf8f2a7..27b11a7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,8 +26,10 @@ bash-completion (1:2.1-3) UNRELEASED; urgency=medium
compressed files, thanks to Alfredo Finelli (Closes: #702498)
- dpkg_support_raw-extract_vextract.patch: add support for more
options in dpkg-deb, thanks to Uwe Storbeck (Closes: #698977)
+ - dpkg_fix_-W_option.patch: -W|--show doesn't support udebs/ddebs,
+ thanks to Luca Capello (Closes: #697513)
- -- David Paleino <dapal at debian.org> Wed, 19 Mar 2014 11:10:08 +0100
+ -- David Paleino <dapal at debian.org> Wed, 19 Mar 2014 11:12:55 +0100
bash-completion (1:2.1-2) unstable; urgency=low
diff --git a/debian/patches/08-dpkg_fix_-W_option.patch b/debian/patches/08-dpkg_fix_-W_option.patch
new file mode 100644
index 0000000..b2156c3
--- /dev/null
+++ b/debian/patches/08-dpkg_fix_-W_option.patch
@@ -0,0 +1,33 @@
+From: Luca Capello <luca at pca.it>
+Subject: fix wrong completion for dpkg's -W option
+Origin: vendor, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697513
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697513
+Forwarded: no
+
+---
+ completions/dpkg | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+--- bash-completion.orig/completions/dpkg
++++ bash-completion/completions/dpkg
+@@ -52,9 +52,9 @@ _dpkg()
+ fi
+
+ case $prev in
+- -c|-i|-A|-I|-f|-e|-x|-X|-W|--install|--unpack|--record-avail| \
++ -c|-i|-A|-I|-f|-e|-x|-X|--install|--unpack|--record-avail| \
+ --contents|--info|--fsys-tarfile|--field|--control|--extract| \
+- --vextract|--show)
++ --vextract)
+ _filedir '?(u|d)deb'
+ return 0
+ ;;
+@@ -62,7 +62,7 @@ _dpkg()
+ _filedir -d
+ return 0
+ ;;
+- -s|-p|-l|--status|--print-avail|--list)
++ -s|-p|-l|-W|--status|--print-avail|--list|--show)
+ COMPREPLY=( $( apt-cache pkgnames "$cur" 2>/dev/null ) )
+ return 0
+ ;;
diff --git a/debian/patches/series b/debian/patches/series
index c3886fe..9617456 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@
05-fix_gcc_detection.patch
06-xpdf_support_compressed_pdf.patch
07-dpkg_support_raw-extract_vextract.patch
+08-dpkg_fix_-W_option.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/debian.git
More information about the Bash-completion-commits
mailing list