From 64c3ba7584115239213dd6d76c8ad92cc7e90fb9 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Mon, 3 Jul 2023 12:47:54 +0200 Subject: [PATCH] Fix incorrect order of commands --- profiles/DerGeret/Windows/Setup.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profiles/DerGeret/Windows/Setup.ps1 b/profiles/DerGeret/Windows/Setup.ps1 index eab7269a..3dcd7869 100644 --- a/profiles/DerGeret/Windows/Setup.ps1 +++ b/profiles/DerGeret/Windows/Setup.ps1 @@ -1,6 +1,5 @@ $env:WIN_COMPUTER_NAME = "DerGeret"; $env:SETUP_SCRIPT_NAME = [System.IO.Path]::GetRelativePath("$PSScriptRoot/../../..", "$PSScriptRoot/Restore.ps1"); -. "$PSScriptRoot/../../../scripts/Windows/OS/Setup.ps1"; $Global:SetupConfigPostprocessor = { param([xml] $config, [System.Xml.XmlNamespaceManager] $namespace) @@ -47,3 +46,5 @@ $Global:SetupConfigPostprocessor = { $partitionModifications.AppendChild($newModification); } + +. "$PSScriptRoot/../../../scripts/Windows/OS/Setup.ps1";