archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libglade / trunk / glade.install
bloba7f05c5de7c0d2cb51218ab57e627ed4b5290017
1 post_install() {
2   if [ ! -d etc/xml ]; then
3     mkdir -p etc/xml
4   fi
5   if [ ! -e etc/xml/catalog ]; then
6     xmlcatalog --noout --create etc/xml/catalog
7   fi
8   xmlcatalog --noout --add "system" \
9     "http://glade.gnome.org/glade-2.0.dtd" \
10     /usr/share/xml/libglade/glade-2.0.dtd etc/xml/catalog
13 pre_upgrade() {
14   post_remove
17 post_upgrade() {
18   post_install $1
21 # arg 1:  the old package version
22 post_remove() {
23   xmlcatalog --noout --del \
24     /usr/share/xml/libglade/glade-2.0.dtd etc/xml/catalog