diff --git a/bin/ncp-update-nc b/bin/ncp-update-nc index dc4d759cc..3193dc778 100755 --- a/bin/ncp-update-nc +++ b/bin/ncp-update-nc @@ -176,9 +176,11 @@ sudo -u www-data php nextcloud/occ upgrade # && false # test point sudo -u www-data php nextcloud/occ db:add-missing-indices # workaround for updating news to NC14 - bug https://github.com/nextcloud/news/issues/327 -F=/var/www/nextcloud/apps/news/vendor/ezyang/htmlpurifier/maintenance/.htaccess -[[ -f "$F" ]] || echo "Deny from all" > "$F" || true -sudo -u www-data php nextcloud/occ integrity:check-app --path=/var/www/nextcloud/apps/news news || true +[[ -e /var/www/nextcloud/apps/news ]] && { + F=/var/www/nextcloud/apps/news/vendor/ezyang/htmlpurifier/maintenance/.htaccess + [[ -f "$F" ]] || echo "Deny from all" > "$F" || true + sudo -u www-data php nextcloud/occ integrity:check-app --path=/var/www/nextcloud/apps/news news || true +} # done #################### diff --git a/changelog.md b/changelog.md index 19164a83e..1c1dd4539 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ -[v0.62.4](https://github.com/nextcloud/nextcloudpi/commit/128f713) (2018-10-03) nc-update-nextcloud: option to upgrade to the latest version +[v0.62.5](https://github.com/nextcloud/nextcloudpi/commit/ca01dbf) (2018-10-03) nc-update-nc: dont fix the news app if there is no news app + +[v0.62.4](https://github.com/nextcloud/nextcloudpi/commit/b449e54) (2018-10-03) nc-update-nextcloud: option to upgrade to the latest version [v0.62.3, master](https://github.com/nextcloud/nextcloudpi/commit/af4b646) (2018-10-03) nc-autoupdate-nc: fix repeating notification