diff options
Diffstat (limited to 'pcr/gconf-gtk2/gconf-install.hook')
-rw-r--r-- | pcr/gconf-gtk2/gconf-install.hook | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pcr/gconf-gtk2/gconf-install.hook b/pcr/gconf-gtk2/gconf-install.hook new file mode 100644 index 000000000..999185458 --- /dev/null +++ b/pcr/gconf-gtk2/gconf-install.hook @@ -0,0 +1,11 @@ +[Trigger] +Type = File +Operation = Install +Operation = Upgrade +Target = usr/share/gconf/schemas/*.schemas + +[Action] +Description = Installing GConf schemas... +When = PostTransaction +Exec = /bin/bash -c 'while read -r f; do f=$(basename "$f" .schemas); /usr/bin/gconfpkg --install $f; done' +NeedsTargets |