summarylogtreecommitdiffstats
path: root/vdhcoapp-user-install.hook
blob: 2afad2eda256774311c51196867787dbb632c0c9 (plain)
1
2
3
4
5
6
7
8
9
10
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = vdhcoapp-bin

[Action]
Description = Installing JSON configuration file for current user ...
When = PostTransaction
Exec = /bin/sh -c 'sudo -u "${SUDO_USER:-$(id -u -n 1000 )}" /usr/bin/vdhcoapp install --user'