mkfedora to use the same convention for group names with +++
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 9 Oct 2009 14:57:10 +0000 (14:57 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 9 Oct 2009 14:57:10 +0000 (14:57 +0000)
build.common

index 9c6302b..4cd00d4 100644 (file)
@@ -390,10 +390,11 @@ fi
 
     if [ -n "$pkgs_groups" ] ; then
        ## call yum sequentially to get finer-grained info on dependencies
-       for grp in $pkgs_groups ; do
-           echo "* Installing optional group $grp" 
+       for group_plus in $pkgs_groups ; do
+           group=$(echo $group_plus | sed -e "s,+++, ,g")
+           echo "* Installing optional group $group" 
             # ignore yum's return code that is basically undefined
-           yum $yum_options $exclude_arg groupinstall "$grp" || :
+           yum $yum_options $exclude_arg groupinstall "$group" || :
        done
     fi