diff --git a/build.ps1 b/build.ps1 index f3d79fc..955c593 100644 --- a/build.ps1 +++ b/build.ps1 @@ -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 } diff --git a/build.sh b/build.sh index 468e22c..ed498d8 100755 --- a/build.sh +++ b/build.sh @@ -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