2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

there should be only 1 local package directory speicified in pkgdir attribute, the removed code slice seems unnecessary

This commit is contained in:
immarvin 2015-02-12 00:23:18 -08:00
parent eb14f2bc5d
commit 662a62c57a

View File

@ -739,11 +739,6 @@ sub mkinstall
my $initrdpath;
my $maxmem;
# only first value is adopted, please see tabdump linuximage, section pkgdir.
my @pkgdirs = split(/,/, $pkgdir);
if (scalar(@pkgdirs) > 1) {
$pkgdir = @pkgdirs[0];
}
if (
(