From cb2fdc9172d4ff24fe1057f54f4abb171e6b8707 Mon Sep 17 00:00:00 2001
From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch>
Date: Tue, 20 Feb 2018 17:21:31 +0100
Subject: [PATCH] Add function docstring.

---
 Updater/Update-Service.ps1 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Updater/Update-Service.ps1 b/Updater/Update-Service.ps1
index 22688e0..9c1153e 100644
--- a/Updater/Update-Service.ps1
+++ b/Updater/Update-Service.ps1
@@ -333,6 +333,8 @@ function Config-IsValid {
 
 
 function Find-InstallationPackage {
+    # Try to locate the latest installation package using the pattern defined
+    # in the updater configuration.
     Write-Verbose "Looking for installation package using pattern: $($Pattern)"
     $PkgDir = Get-ChildItem -Path $UpdPathBinaries -Directory -Name |
         Where-Object {$_ -match $Pattern} |
-- 
GitLab