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-06-19 12:11:29 +0300
committernachoparker <nacho@ownyourbits.com>2018-06-19 12:58:14 +0300
commit54e8cf35158239d8d2f3a84050d80fe6a971a562 (patch)
tree00414dd3733dc9548230a6eb9ab647871b2b74fb /etc
parentfce84f66c8261a00c5b869d27f59d2b5d7324cd0 (diff)
noip: install gcc and cleanup afterwards
Diffstat (limited to 'etc')
-rw-r--r--etc/ncp-config.d/no-ip.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/ncp-config.d/no-ip.sh b/etc/ncp-config.d/no-ip.sh
index b183f260..d8351797 100644
--- a/etc/ncp-config.d/no-ip.sh
+++ b/etc/ncp-config.d/no-ip.sh
@@ -21,7 +21,8 @@ Internet access is required for this configuration to complete."
install()
{
apt-get update
- apt-get install --no-install-recommends -y make
+ apt-get install --no-install-recommends -y make gcc libc-dev
+
local TMPDIR="$( mktemp -d /tmp/noip.XXXXXX )"
cd "$TMPDIR"
wget -O- --content-disposition https://github.com/nachoparker/noip-DDNS/archive/master/latest.tar.gz \
@@ -99,6 +100,11 @@ configure()
}
+cleanup()
+{
+ apt-get purge -y make gcc libc-dev
+}
+
# License
#
# This script is free software; you can redistribute it and/or modify it