jobextra/gconf/gconf-remove.hook
2022-03-20 14:34:07 +02:00

11 lines
283 B
Plaintext

[Trigger]
Type = File
Operation = Remove
Target = usr/share/gconf/schemas/*.schemas
[Action]
Description = Uninstalling GConf schemas...
When = PreTransaction
Exec = /bin/bash -c 'while read -r f; do f=$(basename "$f" .schemas); /usr/bin/gconfpkg --uninstall $f; done'
NeedsTargets