-t pattern should not be used with separate packages

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10991 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2011-11-11 06:36:51 +00:00
parent ab2ce81e32
commit 40aba0c9c8

View File

@ -418,8 +418,8 @@ unless ($onlyinitrd) {
}
if($pkgnames ne ' ')
{
print "$envlist $yumcmd -t pattern $pkgnames\n";
$rc = system("$envlist $yumcmd -t pattern $pkgnames");
print "$envlist $yumcmd $pkgnames\n";
$rc = system("$envlist $yumcmd $pkgnames");
$rc = $rc >> 8;
if (($rc) && ($rc != '104')) {
print "zypper invocation failed with rc: $rc\n";