Skip to content

Commit eef9655

Browse files
committed
Fix ddclient 3.10.0+ parsing bug by using curl in configuration
1 parent 786008a commit eef9655

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

network/ddclient-configuration.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ else
4141
removal_popup "$SCRIPT_NAME"
4242
fi
4343

44-
# install needed tool
45-
apt-get update -q4 & spinner_loading
44+
# Install curl for ddclient to work around 3.10.0 parsing bug (see #2754)
45+
install_if_not curl
4646
DEBIAN_FRONTEND=noninteractive apt-get install ddclient -y
4747

4848
# Test if file exists
@@ -182,6 +182,11 @@ cat << DDCLIENT_CONF > "/etc/ddclient.conf"
182182
use=if, if=$IFACE
183183
use=web, web=https://api.ipify.org
184184
185+
# Work around ddclient 3.10.0+ parsing bug by using curl
186+
# See: https://github.com/ddclient/ddclient/issues/499
187+
# and: https://github.com/nextcloud/vm/issues/2754
188+
curl=yes
189+
185190
# DDNS-service specific setting
186191
# Provider=$PROVIDER
187192
protocol=$PROTOCOL

0 commit comments

Comments
 (0)