Skip to content
Snippets Groups Projects
Commit 8f11b8d9 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Minor renamings.

Refers to #13
parent 9c5ce24a
No related branches found
No related tags found
No related merge requests found
......@@ -107,13 +107,14 @@ function Update-FileIfNewer([string]$SourcePath, [string]$Destination) {
}
function Update-ConfigFile {
function Update-Configuration {
$NewConfig = "$($UpdateConfigPath)\configuration.xml"
if (Test-Path -PathType Leaf $NewConfig) {
Update-FileIfNewer $NewConfig $InstallationPath
}
}
function Copy-ServiceFiles {
Write-Host -NoNewLine "Updating service binaries: "
try {
......@@ -147,6 +148,8 @@ function Update-ServiceBinaries {
}
# first check if the service is installed and running at all
Check-ServiceState $ServiceName
......@@ -160,7 +163,7 @@ Exit-IfDirMissing $UpdateConfigPath "configuration update"
Exit-IfDirMissing $UpdateMarkerPath "update marker"
Exit-IfDirMissing $UpdateBinariesPath "service binaries update"
Update-ConfigFile
Update-Configuration
Update-ServiceBinaries
Start-MyService
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment