Adding packagenames without directory to KIT_RMPKGS.otherpkgs.pkglist so otherpkg script could remove them
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14155 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
8d91ef04d5
commit
308acd2839
@ -592,7 +592,7 @@ sub assign_to_osimage
|
||||
chomp $line;
|
||||
my $matched = 0;
|
||||
foreach my $kitpkgdep ( @kitpkgdeps ) {
|
||||
if ( $line =~ /^-$kitreponame\/$kitpkgdep$/ ) {
|
||||
if ( $line =~ /^-$kitpkgdep$/ ) {
|
||||
$matched = 1;
|
||||
$changed = 1;
|
||||
last;
|
||||
@ -2037,14 +2037,14 @@ sub rmkitcomp
|
||||
my $matched = 0;
|
||||
foreach my $line ( @lines ) {
|
||||
chomp $line;
|
||||
if ( $line =~ /^-$kitreponame\/$kitpkgdep$/ ) {
|
||||
if ( $line =~ /^-$kitpkgdep$/ ) {
|
||||
$matched = 1;
|
||||
last;
|
||||
}
|
||||
}
|
||||
|
||||
unless ( $matched ) {
|
||||
push @l, "-$kitreponame/$kitpkgdep\n";
|
||||
push @l, "-$kitpkgdep\n";
|
||||
$update = 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user