aboutsummaryrefslogtreecommitdiffstats
path: root/community/libglade/libglade.post-install
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-27 06:47:37 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-29 15:55:32 +0000
commitaaebd10e3a3225c2720dad72e6481c9646b2beb4 (patch)
treea376bc92c3651aa102e64b48afa1987e3c56c050 /community/libglade/libglade.post-install
parente5c3881cb1745dfe693372d7d372f15205225d51 (diff)
downloadaports-aaebd10e3a3225c2720dad72e6481c9646b2beb4.tar.gz
aports-aaebd10e3a3225c2720dad72e6481c9646b2beb4.tar.bz2
aports-aaebd10e3a3225c2720dad72e6481c9646b2beb4.tar.xz
community/libglade: move from main
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 0000000000..82e58a85fe
--- /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