From fb8414fa640042430c0e3035151d64fd3da77c14 Mon Sep 17 00:00:00 2001 From: thecalcaholic <6317548+theCalcaholic@users.noreply.github.com> Date: Tue, 27 Sep 2022 11:39:41 +0200 Subject: [PATCH] ncp.sh: Force ncp-update-nc to run on docker during installation Signed-off-by: thecalcaholic <6317548+theCalcaholic@users.noreply.github.com> --- ncp.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ncp.sh b/ncp.sh index d1a6d25e..de9d2f7b 100644 --- a/ncp.sh +++ b/ncp.sh @@ -1,6 +1,6 @@ #!/bin/bash -# NextCloudPi additions to Raspbian +# NextCloudPi additions to Raspbian # # Copyleft 2017 by Ignacio Nunez Hernanz # GPL licensed (see end of file) * Use at your own risk! @@ -204,7 +204,7 @@ EOF chmod g+w /var/run/.ncp-latest-version # Install all ncp-apps - bin/ncp-update $BRANCH || exit $? + ALLOW_UPDATE_SCRIPT=1 bin/ncp-update $BRANCH || exit $? # LIMIT LOG SIZE grep -q maxsize /etc/logrotate.d/apache2 || sed -i /weekly/amaxsize2M /etc/logrotate.d/apache2