mirror of
https://github.com/jakeswenson/BitBetter.git
synced 2025-09-15 06:13:26 +00:00
Fix ps1 script and update language
This commit is contained in:
parent
d34041c1e3
commit
273ac7b4eb
|
@ -46,13 +46,10 @@ foreach ($instance in $oldinstances) {
|
||||||
}
|
}
|
||||||
|
|
||||||
# update bitwarden itself
|
# update bitwarden itself
|
||||||
if ($args[0] -eq 'y')
|
if ($args[0] -eq 'y') {
|
||||||
{
|
|
||||||
docker pull ghcr.io/bitwarden/self-host:beta
|
docker pull ghcr.io/bitwarden/self-host:beta
|
||||||
}
|
} else {
|
||||||
else
|
$confirmation = Read-Host "Update (or get) bitwarden source container (y/n)"
|
||||||
{
|
|
||||||
$confirmation = Read-Host "Update (or get) bitwarden source container"
|
|
||||||
if ($confirmation -eq 'y') {
|
if ($confirmation -eq 'y') {
|
||||||
docker pull ghcr.io/bitwarden/self-host:beta
|
docker pull ghcr.io/bitwarden/self-host:beta
|
||||||
}
|
}
|
||||||
|
|
2
build.sh
2
build.sh
|
@ -50,7 +50,7 @@ done
|
||||||
if [ "$1" = "y" ]; then
|
if [ "$1" = "y" ]; 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: " -n 1 -r
|
read -p "Update (or get) bitwarden source container (y/n): " -n 1 -r
|
||||||
echo
|
echo
|
||||||
if [[ $REPLY =~ ^[Yy]$ ]]
|
if [[ $REPLY =~ ^[Yy]$ ]]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user