aboutsummaryrefslogtreecommitdiffstats
path: root/community/libglade/libglade.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/libglade/libglade.post-install')
-rw-r--r--community/libglade/libglade.post-install13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/libglade/libglade.post-install b/community/libglade/libglade.post-install
new file mode 100644
index 00000000000..82e58a85feb
--- /dev/null
+++ b/community/libglade/libglade.post-install
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+mkdir -p etc/xml
+
+if [ ! -e etc/xml/catalog ]; then
+ xmlcatalog --noout --create etc/xml/catalog
+fi
+
+xmlcatalog --noout --add "system" \
+ "http://glade.gnome.org/glade-2.0.dtd" \
+ /usr/share/xml/libglade/glade-2.0.dtd etc/xml/catalog
+
+exit 0