Fix dpkg completion bug: it listed only non-Essential packages
(Closes: #511790)
This commit is contained in:
parent
6ed7c6559d
commit
8742e7d294
@ -4311,8 +4311,9 @@ have dpkg && {
|
||||
_comp_dpkg_installed_packages()
|
||||
{
|
||||
grep -A 1 "Package: $1" /var/lib/dpkg/status | \
|
||||
grep -B 1 -E "ok installed|half-installed|unpacked| \
|
||||
half-configured|config-files" | \
|
||||
grep -B 1 -Ee "ok installed|half-installed|unpacked| \
|
||||
half-configured|config-files" \
|
||||
-Ee "^Essential: yes" | \
|
||||
grep "Package: $1" | cut -d\ -f2
|
||||
}
|
||||
#}
|
||||
|
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -51,6 +51,8 @@ bash-completion (200811xx) UNRELEASED; urgency=low
|
||||
(prefixed with _ to avoid file conflicts with upstream's one)
|
||||
* Fixed completion of environment variables, thanks to Morita Sho
|
||||
(Closes: #272660)
|
||||
* Fix dpkg completion bug: it listed only non-Essential packages
|
||||
(Closes: #511790)
|
||||
* Merge from Gentoo:
|
||||
- fix 'find' completion so that it properly completes on -?(i)whilename.
|
||||
Patch by Ciaran McCreesh.
|
||||
@ -93,7 +95,7 @@ bash-completion (200811xx) UNRELEASED; urgency=low
|
||||
* Add .mkv, .mp2 and .vdr to *xine completion (RHBZ: #444467) (Ville Skyttä).
|
||||
* Add --rsyncable to gzip completion (Ville Skyttä).
|
||||
|
||||
-- David Paleino <d.paleino@gmail.com> Fri, 16 Jan 2009 21:00:36 +0100
|
||||
-- David Paleino <d.paleino@gmail.com> Fri, 16 Jan 2009 21:21:06 +0100
|
||||
|
||||
bash-completion (20080705) unstable; urgency=low
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user