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
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/ncp-config.d/duckDNS.sh6
-rw-r--r--etc/ncp-config.d/spDYN.sh5
2 files changed, 9 insertions, 2 deletions
diff --git a/etc/ncp-config.d/duckDNS.sh b/etc/ncp-config.d/duckDNS.sh
index 90d9c35f..bac8776e 100644
--- a/etc/ncp-config.d/duckDNS.sh
+++ b/etc/ncp-config.d/duckDNS.sh
@@ -16,7 +16,11 @@ INSTALLPATH=/usr/local/etc/$INSTALLDIR
CRONFILE=/etc/cron.d/duckdns
DESCRIPTION="Free Dynamic DNS provider (need account from https://duckdns.org)"
-install() { :; }
+install()
+{
+ apt-get update
+ apt-get install -y --no-install-recommends curl # TODO use wget instead
+}
configure()
{
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"