From 54e8cf35158239d8d2f3a84050d80fe6a971a562 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Tue, 19 Jun 2018 11:11:29 +0200 Subject: noip: install gcc and cleanup afterwards --- etc/ncp-config.d/no-ip.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'etc') 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 -- cgit v1.2.3