1
0

fix broken installs

This commit is contained in:
nicolas.dorier
2019-10-09 20:41:53 +09:00
parent 08351e86ba
commit f48e52b0bb

View File

@@ -68,6 +68,13 @@ btcpay_expand_variables() {
btcpay_update_docker_env() {
btcpay_expand_variables
touch $BTCPAY_ENV_FILE
# Fix up of a bug before
if [[ "$BTCPAY_ENABLE_SSH" == "true" ]] && ! [[ "$BTCPAY_HOST_SSHAUTHORIZEDKEYS" ]]; then
BTCPAY_HOST_SSHAUTHORIZEDKEYS=~/.ssh/authorized_keys
BTCPAY_HOST_SSHKEYFILE=""
fi
echo "
BTCPAY_PROTOCOL=$BTCPAY_PROTOCOL
BTCPAY_HOST=$BTCPAY_HOST