diff options
Diffstat (limited to 'pcr/gconf-gtk2/gconf-remove.hook')
-rw-r--r-- | pcr/gconf-gtk2/gconf-remove.hook | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pcr/gconf-gtk2/gconf-remove.hook b/pcr/gconf-gtk2/gconf-remove.hook new file mode 100644 index 000000000..8206d1e29 --- /dev/null +++ b/pcr/gconf-gtk2/gconf-remove.hook @@ -0,0 +1,10 @@ +[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 |