mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2025-12-06 08:27:08 +00:00
fix missing if statement closing
This commit is contained in:
parent
651cbbdaf3
commit
7ef9657e54
@ -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 $@
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user