desktop/nextcloud/nextcloud.hook

14 lines
328 B
Plaintext
Raw Normal View History

2018-01-22 14:31:10 +08:00
# 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