[yum-commits] etc/yum.bash

Ville Skyttä scop at osuosl.org
Wed Dec 21 20:30:51 UTC 2011


 etc/yum.bash |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1dd68f87147e575ba61f63ebb8fec35513057226
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Wed Dec 21 22:30:43 2011 +0200

    Fix two-word groups foo completion.

diff --git a/etc/yum.bash b/etc/yum.bash
index 30f8fcf..6d21e51 100644
--- a/etc/yum.bash
+++ b/etc/yum.bash
@@ -217,7 +217,7 @@ _yum()
             ;;
 
         group*)
-            if [[ $cmd == groups || $cmd == group && $prev == $cmd ]] ; then
+            if [[ ($cmd == groups || $cmd == group) && $prev == $cmd ]] ; then
                 COMPREPLY=( $( compgen -W 'info install list remove summary' \
                     -- "$cur" ) )
             else


More information about the Yum-commits mailing list