Merge pull request #899 from namekal/patch-1

[NORDVPN] Fix setting download URL
This commit is contained in:
Kristian Haugene
2019-10-24 18:01:00 +02:00
committed by GitHub

View File

@@ -124,9 +124,9 @@ find . ! -name '*.sh' -type f -delete
if [[ ! -z $OPENVPN_CONFIG ]] && [[ ! -z $NORDVPN_COUNTRY ]] if [[ ! -z $OPENVPN_CONFIG ]] && [[ ! -z $NORDVPN_COUNTRY ]]
then then
default="$(select_hostname).${NORDVPN_PROTOCOL,,}" default="$(select_hostname)"
else else
default="$(select_hostname -d).${NORDVPN_PROTOCOL,,}" default="$(select_hostname -d)"
fi fi
download_hostname -d ${default} download_hostname -d ${default}