Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'etc/ncp-config.d/spDYN.sh')
-rw-r--r--etc/ncp-config.d/spDYN.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/ncp-config.d/spDYN.sh b/etc/ncp-config.d/spDYN.sh
index 99c63026..ec27a3dc 100644
--- a/etc/ncp-config.d/spDYN.sh
+++ b/etc/ncp-config.d/spDYN.sh
@@ -18,7 +18,10 @@ INSTALLPATH=/usr/local/etc/$INSTALLDIR
CRONFILE=/etc/cron.d/spdnsupdater
DESCRIPTION="Free Dynamic DNS provider (need account from spdyn.de)"
-install() {
+install()
+{
+ apt-get update
+ apt-get install -y --no-install-recommends curl # TODO use wget instead
# Create the spdnsUpdater.sh
mkdir -p "$INSTALLPATH"