summarylogtreecommitdiffstats
path: root/nextcloud.hook
blob: 33cd4dbd18b149129309863732880adeb8212695 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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/occ upgrade