Fix completion test for dpgk -L
This commit is contained in:
parent
0e1e189f0b
commit
4467ce1725
@ -18,10 +18,7 @@ sync_after_int
|
|||||||
|
|
||||||
|
|
||||||
# Build list of installed packages
|
# Build list of installed packages
|
||||||
# NOTE: If an argument is passed to `--get-selections', `dpkg' also returns
|
if {[assert_exec {dpkg --get-selections | grep \[\[:space:\]\]install$ | cut -f1} packages]} {
|
||||||
# packages with status "purged". Be sure to add `| grep install$' to
|
|
||||||
# pipeline before 'cut' in that case. -- FVu, Sun Feb 22 10:08:34 CET 2009
|
|
||||||
if {[assert_exec {dpkg --get-selections | cut -f1} packages]} {
|
|
||||||
assert_complete $packages "dpkg -L "
|
assert_complete $packages "dpkg -L "
|
||||||
}; # if
|
}; # if
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user