Skip to content

Commit

Permalink
nc-update-nc: dont fix the news app if there is no news app
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Oct 4, 2018
1 parent aa886f9 commit 0bf6045
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 5 additions & 3 deletions bin/ncp-update-nc
Original file line number Diff line number Diff line change
Expand Up @@ -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
####################
Expand Down
4 changes: 3 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 0bf6045

Please sign in to comment.