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
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2019-04-05 04:25:09 +0300
committernachoparker <nacho@ownyourbits.com>2019-04-05 04:28:33 +0300
commit194d11101bb3ad109a17b8dfea9b63ca046451f1 (patch)
tree6e33d6a9afb7b1c169a447ca22735c3f2fd4bcec /update.sh
parentb11c13e5313f9d147df5169666d71b4753027893 (diff)
create UPDATE config sectionv1.10.11
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh5
1 files changed, 5 insertions, 0 deletions
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 )"