diff options
author | James Meyer <james.meyer@operamail.com> | 2009-01-04 18:49:24 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-01-04 18:49:24 (GMT) |
commit | 116edc0c0cc1b926acce635a76d102408b118a92 (patch) | |
tree | 237e661dc7f5b1bb4b18350ab3a48e5a15283851 /abs/extra-testing/libglade/glade.install | |
parent | 29e945b91760568116a21e0076fae046b33a2663 (diff) | |
parent | 7f42f55d022dc8ca818a76dccfc66fce7c8dea4f (diff) | |
download | linhes_pkgbuild-116edc0c0cc1b926acce635a76d102408b118a92.zip linhes_pkgbuild-116edc0c0cc1b926acce635a76d102408b118a92.tar.gz linhes_pkgbuild-116edc0c0cc1b926acce635a76d102408b118a92.tar.bz2 |
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD.git
Diffstat (limited to 'abs/extra-testing/libglade/glade.install')
-rw-r--r-- | abs/extra-testing/libglade/glade.install | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/abs/extra-testing/libglade/glade.install b/abs/extra-testing/libglade/glade.install new file mode 100644 index 0000000..a7f05c5 --- /dev/null +++ b/abs/extra-testing/libglade/glade.install @@ -0,0 +1,25 @@ +post_install() { + if [ ! -d etc/xml ]; then + mkdir -p etc/xml + fi + 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 +} + +pre_upgrade() { + post_remove +} + +post_upgrade() { + post_install $1 +} + +# arg 1: the old package version +post_remove() { + xmlcatalog --noout --del \ + /usr/share/xml/libglade/glade-2.0.dtd etc/xml/catalog +} |