Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

Commit

Permalink
fixes ESD-ISO bug when combining Pro and Core in the correct way
Browse files Browse the repository at this point in the history
  • Loading branch information
gus33000 committed Mar 6, 2016
1 parent 3937601 commit 5c6b32b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/esd_lib.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ function Get-InfosFromESD (

if ($esdinformations.count -eq 1) {
$DVDLabel = $esdinformations[0].VolumeLabel
} elseif ($esdinformations.count -eq 2 -and $esdinformations[0].Editions -eq "Core" -and $esdinformations[1].Editions -eq "Professional" -and $parts -eq 1) {
} elseif ($esdinformations.count -eq 2 -and $esdinformations[0].Editions -eq "Professional" -and $esdinformations[1].Editions -eq "Core" -and $parts -eq 1) {
$DVDLabel = ($tag+'_CCSA_'+$arch+$ltag+$esdinformations[0].LanguageCode+'_'+$DVD).ToUpper()
} else {
$DVDLabel = "ESD-ISO"
Expand Down
2 changes: 1 addition & 1 deletion bin/main.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ function global:Get-InfosFromESD (

if ($esdinformations.count -eq 1) {
$DVDLabel = $esdinformations[0].VolumeLabel
} elseif ($esdinformations.count -eq 2 -and $esdinformations[0].Editions -eq "Core" -and $esdinformations[1].Editions -eq "Professional" -and $parts -eq 1) {
} elseif ($esdinformations.count -eq 2 -and $esdinformations[0].Editions -eq "Professional" -and $esdinformations[1].Editions -eq "Core" -and $parts -eq 1) {
$DVDLabel = ($tag+'_CCSA_'+$arch+$ltag+$esdinformations[0].LanguageCode+'_'+$DVD).ToUpper()
} else {
$DVDLabel = "ESD-ISO"
Expand Down

0 comments on commit 5c6b32b

Please sign in to comment.