From 194d11101bb3ad109a17b8dfea9b63ca046451f1 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Thu, 4 Apr 2019 19:25:09 -0600 Subject: create UPDATE config section --- update.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'update.sh') diff --git a/update.sh b/update.sh index 6294ee88..c51ab155 100755 --- a/update.sh +++ b/update.sh @@ -230,6 +230,11 @@ EOF # update nc-backup install_app nc-backup + # create UPDATES section + updates_dir=/usr/local/bin/ncp/UPDATES + mkdir -p "$updates_dir" + mv /usr/local/bin/ncp/{SYSTEM/unattended-upgrades.sh,CONFIG/nc-autoupdate-nc.sh,CONFIG/nc-autoupdate-ncp.sh,CONFIG/nc-update-nc-apps-auto.sh} "$updates_dir" + # remove redundant opcache configuration. Leave until update bug is fixed -> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815968 # Bug #416 reappeared after we moved to php7.2 and debian buster packages. (keep last) [[ "$( ls -l /etc/php/7.2/fpm/conf.d/*-opcache.ini | wc -l )" -gt 1 ]] && rm "$( ls /etc/php/7.2/fpm/conf.d/*-opcache.ini | tail -1 )" -- cgit v1.2.3