[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