diff --git a/build/entrypoint.sh b/build/entrypoint.sh index a4a56d9..32a0453 100644 --- a/build/entrypoint.sh +++ b/build/entrypoint.sh @@ -29,7 +29,7 @@ if [[ ! -f $HOME/.gnupg ]]; then echo "No GPG key found in $HOME/.gnupg. Running gpg --generate-key." gpg --generate-key --batch /protonmail/gpgparams pass init pass-key - +fi # delete lock files if they exist - this can happen if the container is restarted forcefully 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 echo "Starting ProtonMail Bridge. Connect to the CLI with `docker exec -it ` and type 'help' for instructions." -/protonmail/proton-bridge --cli $@ \ No newline at end of file +/protonmail/proton-bridge --cli $@