Fix order of execution in setup script
This commit is contained in:
parent
e6d2a3189d
commit
20acebbc7e
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ $newCommand.SelectSingleNode("./ua:CommandLine", $namespace).InnerText = `
|
|||
"; pwsh '$env:SETUP_SCRIPT_NAME';";
|
||||
|
||||
$order = [int]$newCommand.SelectSingleNode("./ua:Order", $namespace).InnerText;
|
||||
$newCommand.SelectSingleNode("./ua:Order", $namespace).InnerText = $order++;
|
||||
$newCommand.SelectSingleNode("./ua:Order", $namespace).InnerText = $order + 1;
|
||||
$newCommand.SelectSingleNode("./ua:Description", $namespace).InnerText = "Install PowerShell Core and git and run setup script";
|
||||
|
||||
if ($Global:SetupConfigPostprocessor) {
|
||||
|
|
Loading…
Reference in a new issue