summarylogtreecommitdiffstats
path: root/nextcloud-stable.hook
blob: c7431207fa1e97a21108b56b239959ec902cb7cd (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-stable
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