Improve consistency between bash and powerhell

This commit is contained in:
Michiel Hazelhof 2025-08-22 10:41:30 +02:00
parent 29883a60f6
commit a6516572f6
No known key found for this signature in database
GPG Key ID: EECB9B96355B5EBF

View File

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