1 |
Author: darkside |
2 |
Date: 2010-05-04 03:11:19 +0000 (Tue, 04 May 2010) |
3 |
New Revision: 96 |
4 |
|
5 |
Modified: |
6 |
trunk/gentoo |
7 |
Log: |
8 |
Fix equery check completion. bug 298919, patch by Jacek Sowi?\197?\132ski |
9 |
|
10 |
Modified: trunk/gentoo |
11 |
=================================================================== |
12 |
--- trunk/gentoo 2009-12-25 02:37:06 UTC (rev 95) |
13 |
+++ trunk/gentoo 2010-05-04 03:11:19 UTC (rev 96) |
14 |
@@ -1251,9 +1251,15 @@ |
15 |
# Only complete if the previous entry on the command line is not |
16 |
# a package name. |
17 |
if [[ ${prev} == ${mode} ]]; then |
18 |
- # Only installed packages can have their integrity verified. |
19 |
- _pkgname -I $cur |
20 |
- COMPREPLY=($(compgen -W "${COMPREPLY[@]} --help" -- ${cur})) |
21 |
+ case $cur in |
22 |
+ -*) |
23 |
+ COMPREPLY=($(compgen -W "${COMPREPLY[@]} --help" -- ${cur})) |
24 |
+ ;; |
25 |
+ *) |
26 |
+ # Only installed packages can have their integrity verified. |
27 |
+ _pkgname -I $cur |
28 |
+ ;; |
29 |
+ esac |
30 |
fi |
31 |
;; |
32 |
s?(ize)) |