From c75d5faa69e4204ac8224dcc786d20b229341ce5 Mon Sep 17 00:00:00 2001 From: nott Date: Wed, 15 Feb 2012 20:09:45 +0000 Subject: [PATCH] fix emgr support git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@11583 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/updatenode.pm | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/updatenode.pm b/xCAT-server/lib/xcat/plugins/updatenode.pm index 801b64801..f048650fe 100644 --- a/xCAT-server/lib/xcat/plugins/updatenode.pm +++ b/xCAT-server/lib/xcat/plugins/updatenode.pm @@ -1617,16 +1617,9 @@ sub doAIXcopy foreach my $pkg (@$list) { chomp $pkg; - my ($junk, $pname); - if (($pkg =~ /^R:/) || ($pkg =~ /^I:/) || ($pkg =~ /^E:/) ) + if (!grep(/^$pkg$/, @pkglist)) { - ($junk, $pname) = split(/:/, $pkg); - } else { - $pname = $pkg; - } - if (!grep(/^$pname$/, @pkglist)) - { - push(@pkglist, $pname); + push(@pkglist, $pkg); } } $bndloc{$bnd} = $loc; @@ -1904,7 +1897,7 @@ sub updateAIXsoftware } else { $pname = $p; } - push @emgr_pkgs, $p; + push @emgr_pkgs, $pname; } else { my ($junk, $pname);