fix missing if statement closing

This commit is contained in:
Simon Ungar Felding 2025-06-12 16:57:11 +02:00
parent 651cbbdaf3
commit 7ef9657e54

View File

@ -29,7 +29,7 @@ if [[ ! -f $HOME/.gnupg ]]; then
echo "No GPG key found in $HOME/.gnupg. Running gpg --generate-key." echo "No GPG key found in $HOME/.gnupg. Running gpg --generate-key."
gpg --generate-key --batch /protonmail/gpgparams gpg --generate-key --batch /protonmail/gpgparams
pass init pass-key pass init pass-key
fi
# delete lock files if they exist - this can happen if the container is restarted forcefully # delete lock files if they exist - this can happen if the container is restarted forcefully
if [[ `find $HOME -name "*.lock" | wc -l` != 0 ]]; then if [[ `find $HOME -name "*.lock" | wc -l` != 0 ]]; then
@ -63,4 +63,4 @@ jq '.Settings.AutoUpdate = (env.PROTONMAIL_AutoUpdate | if . == "true" then true
# Start protonmail # Start protonmail
echo "Starting ProtonMail Bridge. Connect to the CLI with `docker exec -it <container_name>` and type 'help' for instructions." echo "Starting ProtonMail Bridge. Connect to the CLI with `docker exec -it <container_name>` and type 'help' for instructions."
/protonmail/proton-bridge --cli $@ /protonmail/proton-bridge --cli $@