mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 08:32:50 -05:00
allow bwdata to exist for loading ca-certs
This commit is contained in:
@ -65,7 +65,7 @@ function Check-Output-Dir-Exists {
|
||||
}
|
||||
|
||||
function Check-Output-Dir-Not-Exists {
|
||||
if (Test-Path -Path $output) {
|
||||
if (Test-Path -Path "$output\docker") {
|
||||
throw "Looks like Bitwarden is already installed at $output."
|
||||
}
|
||||
}
|
||||
@ -74,7 +74,7 @@ function Check-Output-Dir-Not-Exists {
|
||||
|
||||
if ($install) {
|
||||
Check-Output-Dir-Not-Exists
|
||||
New-Item -ItemType directory -Path $output | Out-Null
|
||||
New-Item -ItemType directory -Path $output -ErrorAction Ignore | Out-Null
|
||||
Download-Run-File
|
||||
Invoke-Expression "$scriptsDir\run.ps1 -install -outputDir $output -coreVersion $coreVersion -webVersion $webVersion"
|
||||
}
|
||||
|
Reference in New Issue
Block a user