2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-08 05:45:39 +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 5cc583495b
commit af9a57b88f

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 (
(