forked from Mouws/protonmail-bridge-nextcoud-podman
Fix entrypoint so it works correctly on init #57
This commit is contained in:
commit
812646acb9
@ -9,6 +9,9 @@ if [[ $1 == init ]]; then
|
|||||||
gpg --generate-key --batch /protonmail/gpgparams
|
gpg --generate-key --batch /protonmail/gpgparams
|
||||||
pass init pass-key
|
pass init pass-key
|
||||||
|
|
||||||
|
# Kill the other instance as only one can be running at a time
|
||||||
|
pkill protonmail-bridge
|
||||||
|
|
||||||
# Login
|
# Login
|
||||||
/protonmail/proton-bridge --cli $@
|
/protonmail/proton-bridge --cli $@
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user