ncp.sh: Force ncp-update-nc to run on docker during installation

Signed-off-by: thecalcaholic <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
thecalcaholic 2022-09-27 11:39:41 +02:00
parent 2589f49377
commit fb8414fa64
No known key found for this signature in database
GPG Key ID: 3510056072886A8F

4
ncp.sh
View File

@ -1,6 +1,6 @@
#!/bin/bash
# NextCloudPi additions to Raspbian
# NextCloudPi additions to Raspbian
#
# Copyleft 2017 by Ignacio Nunez Hernanz <nacho _a_t_ ownyourbits _d_o_t_ com>
# 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