jobextra/gconf/gconf-remove.hook

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