diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-10-04 06:16:15 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-10-04 07:25:19 +0300 |
commit | 0bf604593bdd0fcb6a64ca4e6a0b0321448b14b0 (patch) | |
tree | 74daac13321565af63ff1b29e90965174cfec9d6 | |
parent | aa886f9948310403c4cf6bfa2580b344cf96dce9 (diff) |
nc-update-nc: dont fix the news app if there is no news appv0.62.5
-rwxr-xr-x | bin/ncp-update-nc | 8 | ||||
-rw-r--r-- | changelog.md | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/bin/ncp-update-nc b/bin/ncp-update-nc index dc4d759c..3193dc77 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 19164a83..1c1dd453 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 |