lilac/repo/vdhcoapp-bin/vdhcoapp-user-remove.hook
2024-03-23 14:53:21 +00:00

10 lines
267 B
Plaintext

[Trigger]
Operation = Remove
Type = Package
Target = vdhcoapp-bin
[Action]
Description = Uninstalling JSON configuration file for current user ...
When = PreTransaction
Exec = /bin/sh -c 'sudo -u "${SUDO_USER:-$(id -u -n 1000 )}" /usr/bin/vdhcoapp uninstall --user'