From 69f0e4720d2168ba4fd398f43465a7c7f802c159 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Thu, 23 Apr 2020 01:06:05 -0400 Subject: [gninjam][gconfmm][gconf-gtk2]: add packages --- pcr/gconf-gtk2/gconf-remove.hook | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 pcr/gconf-gtk2/gconf-remove.hook (limited to 'pcr/gconf-gtk2/gconf-remove.hook') 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 -- cgit v1.2.3