Fix ps1 script and update language

This commit is contained in:
Michiel Hazelhof 2025-08-12 12:09:48 +02:00
parent d34041c1e3
commit 273ac7b4eb
No known key found for this signature in database
GPG Key ID: EECB9B96355B5EBF
2 changed files with 4 additions and 7 deletions

View File

@ -46,13 +46,10 @@ foreach ($instance in $oldinstances) {
}
# update bitwarden itself
if ($args[0] -eq 'y')
{
if ($args[0] -eq 'y') {
docker pull ghcr.io/bitwarden/self-host:beta
}
else
{
$confirmation = Read-Host "Update (or get) bitwarden source container"
} else {
$confirmation = Read-Host "Update (or get) bitwarden source container (y/n)"
if ($confirmation -eq 'y') {
docker pull ghcr.io/bitwarden/self-host:beta
}

View File

@ -50,7 +50,7 @@ done
if [ "$1" = "y" ]; then
docker pull ghcr.io/bitwarden/self-host:beta
else
read -p "Update (or get) bitwarden source container: " -n 1 -r
read -p "Update (or get) bitwarden source container (y/n): " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]
then