[fix] ip.yunohost.org is https now

This commit is contained in:
Julien Malik 2016-03-08 15:38:06 +01:00
parent 81fde7482d
commit 735053ad14

View file

@ -16,7 +16,7 @@ function safe_copy () {
cd /usr/share/yunohost/templates/dnsmasq
# Get IP address
ip=$(curl ip.yunohost.org 2>/dev/null || echo '0.0.0.0')
ip=$(curl https://ip.yunohost.org 2>/dev/null || echo '0.0.0.0')
# Get IPv6 IP address
ipv6=$(ip route get 2000:: | grep -q "unreachable" && echo '' \