create UPDATE config section

This commit is contained in:
nachoparker 2019-04-04 19:25:09 -06:00
parent b11c13e531
commit 194d11101b
6 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,7 @@
[v1.10.10](https://github.com/nextcloud/nextcloudpi/commit/e06a4f6) (2019-04-05) nc-backup: improve needed space calculation (#864)
[v1.10.11](https://github.com/nextcloud/nextcloudpi/commit/d312af8) (2019-04-04) create UPDATE config section
[v1.10.10](https://github.com/nextcloud/nextcloudpi/commit/b11c13e) (2019-04-05) nc-backup: improve needed space calculation (#864)
[v1.10.9](https://github.com/nextcloud/nextcloudpi/commit/5af854b) (2019-04-01) letsencrypt: dont return error if notif fails

View File

@ -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 )"