[fix] Workaround for the bad people who are not using IPv6 yet

This commit is contained in:
Julien Malik 2016-03-09 08:41:39 +01:00
parent 229c1e6dcd
commit 5d5976d31e

View file

@ -19,7 +19,7 @@ cd /usr/share/yunohost/templates/dnsmasq
ip=$(curl -s -4 https://ip.yunohost.org 2>/dev/null || echo '0.0.0.0')
# Get IPv6 IP address
ipv6=$(curl -s -6 http://ip6.yunohost.org 2>/dev/null)
ipv6=$(curl -s -6 http://ip6.yunohost.org 2>/dev/null || echo '')
sudo mkdir -p /etc/dnsmasq.d