Distingush between 2012 and 8 versions of windows
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14386 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
3174f6a8eb
commit
ae93fe56ce
@ -527,7 +527,11 @@ sub copycd
|
||||
} elsif (/BuildBranch=win7_rtm/){
|
||||
$distname = "win7";
|
||||
} elsif (/BuildBranch=win8_rtm/){
|
||||
$distname = "win8";
|
||||
if (-r $mntpath . "/sources/background_cli.bmp") {
|
||||
$distname = "win8";
|
||||
} elsif (-r $mntpath . "/sources/background_svr.bmp") {
|
||||
$distname = "win2012";
|
||||
}
|
||||
}
|
||||
}
|
||||
close(DBNAME);
|
||||
|
Loading…
Reference in New Issue
Block a user