desktop/nextcloud/nextcloud.hook
2018-01-22 06:31:10 +00:00

14 lines
328 B
Plaintext

# 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 http -- /usr/bin/php /usr/share/webapps/nextcloud/occ upgrade