From da20130c15d7333bd1d479c4b576a14bde73fa2f Mon Sep 17 00:00:00 2001
From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch>
Date: Mon, 19 Feb 2018 23:39:21 +0100
Subject: [PATCH] Adapt Get-HostDescription to new configuration location.

Refers to #18
---
 Updater/Update-Service.ps1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Updater/Update-Service.ps1 b/Updater/Update-Service.ps1
index 5f38696..a29605c 100644
--- a/Updater/Update-Service.ps1
+++ b/Updater/Update-Service.ps1
@@ -411,7 +411,7 @@ function Upload-LogFiles {
 
 function Get-HostDescription() {
     $Desc = $env:COMPUTERNAME
-    $ConfigXml = "$($InstallationPath)\configuration.xml"
+    $ConfigXml = "$($ConfigPath)\$($Desc).xml"
     try {
         [xml]$XML = Get-Content $ConfigXml -ErrorAction Stop
         # careful, we need a string comparison here:
-- 
GitLab