mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	Fixing bug 3610: not add prerequisite to full kit if there is no 'prerequisite' in kit.conf of partial kit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -3077,13 +3077,14 @@ sub kit_addpkgs | ||||
|     my @lines = <$CKF>; | ||||
|     close $CKF; | ||||
|  | ||||
|     $::PREREQUISITE = 1; | ||||
|     foreach my $l (@lines) { | ||||
|         # skip blank and comment lines | ||||
|         if ( $l =~ /^\s*$/ || $l =~ /^\s*#/ ) { | ||||
|             next; | ||||
|         } | ||||
|         if ($l =~ /prerequisite/ ) { | ||||
|             $::PREREQUISITE = 1; | ||||
|             $::PREREQUISITE = 0; | ||||
|         } | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user