Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
auto-tx
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vamp
auto-tx
Commits
49ea7179
Commit
49ea7179
authored
7 years ago
by
Niko Ehrenfeuchter
Browse files
Options
Downloads
Patches
Plain Diff
Rename NewServiceBinaries-Available to ServiceUpdate-Requested.
Refers to
#18
,
#28
parent
3be60296
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Updater/Update-Service.ps1
+4
-2
4 additions, 2 deletions
Updater/Update-Service.ps1
with
4 additions
and
2 deletions
Updater/Update-Service.ps1
+
4
−
2
View file @
49ea7179
...
...
@@ -396,7 +396,9 @@ function Update-ServiceBinaries {
}
function
NewServiceBinaries
-Available
{
function
ServiceUpdate
-Requested
{
# Check for a host-specific marker file indicating whether the service
# binaries on this host should be updated.
$MarkerFile
=
"
$(
$UpdPathMarkerFiles
)
\
$(
$
env
:
COMPUTERNAME
)
"
if
(
Test-Path
"
$MarkerFile
"
-Type
Leaf
)
{
Log-Debug
"Found marker [
$(
$MarkerFile
)
], not updating service."
...
...
@@ -567,7 +569,7 @@ Exit-IfDirMissing $UploadPathLogs "log file target"
Upload
-LogFiles
$ConfigShouldBeUpdated
=
NewConfig
-Available
$ConfigPath
$ServiceShouldBeUpdated
=
New
Service
Binaries
-Available
$ServiceShouldBeUpdated
=
Service
Update
-Requested
if
(
-Not
(
$ConfigShouldBeUpdated
-Or
$ServiceShouldBeUpdated
))
{
Log-Debug
"No update action found to be necessary."
Exit
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment