diff options
author | James Cuzella | 2023-09-28 19:46:19 -0600 |
---|---|---|
committer | Paragoumba | 2023-09-30 16:21:00 +0200 |
commit | d3143101d9873a2d0f6998d9535e98518780809a (patch) | |
tree | b170075c8e2cbbbe137231ccb9dcafba65f6b61a /vdhcoapp-user-install.hook | |
parent | a86bcc0f7569b5b540384e7323f37e3a454f6ff0 (diff) | |
download | aur-d3143101d9873a2d0f6998d9535e98518780809a.tar.gz |
Fix user-level post-install & pre-remove hooks
Note: browser plugin will now find the companion app for current user that
installed via pacman / yay / AUR-helper
Diffstat (limited to 'vdhcoapp-user-install.hook')
-rw-r--r-- | vdhcoapp-user-install.hook | 10 |
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' |