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