1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 08:32:50 -05:00

New updateconf scripts method (#575)

* New updateconf scripts method

* New updateconf scripts method

* New updateconf scripts method

* New updateconf scripts method
This commit is contained in:
Mart124
2019-10-17 21:10:28 +02:00
committed by Kyle Spearrin
parent 63c3d5342c
commit 5d802cefd5
4 changed files with 18 additions and 0 deletions

View File

@ -5,6 +5,7 @@ param (
[switch] $stop,
[switch] $update,
[switch] $rebuild,
[switch] $updateconf,
[switch] $updatedb,
[switch] $updateself,
[string] $output = ""
@ -102,6 +103,10 @@ elseif ($rebuild) {
Check-Output-Dir-Exists
Invoke-Expression "& `"$scriptsDir\run.ps1`" -rebuild -outputDir `"$output`" -coreVersion $coreVersion -webVersion $webVersion"
}
elseif ($updateconf) {
Check-Output-Dir-Exists
Invoke-Expression "& `"$scriptsDir\run.ps1`" -updateconf -outputDir `"$output`" -coreVersion $coreVersion -webVersion $webVersion"
}
elseif ($updatedb) {
Check-Output-Dir-Exists
Invoke-Expression "& `"$scriptsDir\run.ps1`" -updatedb -outputDir `"$output`" -coreVersion $coreVersion -webVersion $webVersion"