summarylogtreecommitdiffstats
path: root/vdhcoapp-user-install.hook
diff options
context:
space:
mode:
Diffstat (limited to 'vdhcoapp-user-install.hook')
-rw-r--r--vdhcoapp-user-install.hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/vdhcoapp-user-install.hook b/vdhcoapp-user-install.hook
new file mode 100644
index 000000000000..a9687896b01e
--- /dev/null
+++ b/vdhcoapp-user-install.hook
@@ -0,0 +1,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 /usr/bin/vdhcoapp install --user'