mirror of
https://github.com/bitwarden/server.git
synced 2025-04-14 17:48:12 -05:00
download run file too when you install
This commit is contained in:
parent
8944c49484
commit
0383e66449
@ -83,6 +83,7 @@ if($install) {
|
|||||||
Check-Output-Dir-Not-Exists
|
Check-Output-Dir-Not-Exists
|
||||||
New-Item -ItemType directory -Path $output | Out-Null
|
New-Item -ItemType directory -Path $output | Out-Null
|
||||||
Download-Install
|
Download-Install
|
||||||
|
Download-Run-File
|
||||||
Invoke-Expression "$scriptsDir\install.ps1 -outputDir $output -coreVersion $coreVersion -webVersion $webVersion"
|
Invoke-Expression "$scriptsDir\install.ps1 -outputDir $output -coreVersion $coreVersion -webVersion $webVersion"
|
||||||
}
|
}
|
||||||
elseif($start -Or $restart) {
|
elseif($start -Or $restart) {
|
||||||
|
@ -88,6 +88,7 @@ then
|
|||||||
checkOutputDirNotExists
|
checkOutputDirNotExists
|
||||||
mkdir $OUTPUT
|
mkdir $OUTPUT
|
||||||
downloadInstall
|
downloadInstall
|
||||||
|
downloadRunFile
|
||||||
$SCRIPTS_DIR/install.sh $OUTPUT $COREVERSION $WEBVERSION
|
$SCRIPTS_DIR/install.sh $OUTPUT $COREVERSION $WEBVERSION
|
||||||
elif [ "$1" == "start" -o "$1" == "restart" ]
|
elif [ "$1" == "start" -o "$1" == "restart" ]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user