makedeb
A cloud server to store your files centrally on a hardware controlled by you
Viewing /nextcloud.hook
.
Click here to go back to the Git tree for nextcloud.
# Update Nextcloud when core or -apps are touched
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = nextcloud
Target = nextcloud-app-*
[Action]
Description = Updating Nextcloud installation
When = PostTransaction
Exec = /usr/bin/runuser -u nextcloud -- /usr/bin/php /usr/share/webapps/nextcloud/occ upgrade