diff --git a/bin/ncp/CONFIG/nc-autoupdate-nc.sh b/bin/ncp/UPDATES/nc-autoupdate-nc.sh similarity index 100% rename from bin/ncp/CONFIG/nc-autoupdate-nc.sh rename to bin/ncp/UPDATES/nc-autoupdate-nc.sh diff --git a/bin/ncp/CONFIG/nc-autoupdate-ncp.sh b/bin/ncp/UPDATES/nc-autoupdate-ncp.sh similarity index 100% rename from bin/ncp/CONFIG/nc-autoupdate-ncp.sh rename to bin/ncp/UPDATES/nc-autoupdate-ncp.sh diff --git a/bin/ncp/CONFIG/nc-update-nc-apps-auto.sh b/bin/ncp/UPDATES/nc-update-nc-apps-auto.sh similarity index 100% rename from bin/ncp/CONFIG/nc-update-nc-apps-auto.sh rename to bin/ncp/UPDATES/nc-update-nc-apps-auto.sh diff --git a/bin/ncp/SYSTEM/unattended-upgrades.sh b/bin/ncp/UPDATES/unattended-upgrades.sh similarity index 100% rename from bin/ncp/SYSTEM/unattended-upgrades.sh rename to bin/ncp/UPDATES/unattended-upgrades.sh diff --git a/changelog.md b/changelog.md index ae9eea49a..942162227 100644 --- a/changelog.md +++ b/changelog.md @@ -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 diff --git a/update.sh b/update.sh index 6294ee882..c51ab155e 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 )"