1 2 3 4 5 6 7 8 9
[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'