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:
authornachoparker <nacho@ownyourbits.com>2018-05-28 07:14:17 +0300
committernachoparker <nacho@ownyourbits.com>2018-05-28 12:32:10 +0300
commit003c29c016b1b6223425662212a0c76b4ccee829 (patch)
tree0f5c29de0359ceb39b692d40609690edacb56a69 /etc
parent83bc0770568381c1fbbf750c7443ec539d961996 (diff)
spDYN: install curl for dockerv0.56.13
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"