diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-11-16 13:23:35 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-11-16 13:23:35 +0000 |
commit | 930680c57687c8936c8e60bbd420be08e920d7da (patch) | |
tree | 4c029ff389d41a2d9d1a1637ee19666e5c5b11e8 /main/docbook-xml | |
parent | bd2ddb6dc8122798d94d1797e443e16f1566fffe (diff) | |
download | aports-930680c57687c8936c8e60bbd420be08e920d7da.tar.bz2 aports-930680c57687c8936c8e60bbd420be08e920d7da.tar.xz |
main/docbook-xml: fix installscript and dependecies
Diffstat (limited to 'main/docbook-xml')
-rw-r--r-- | main/docbook-xml/APKBUILD | 4 | ||||
-rw-r--r-- | main/docbook-xml/docbook-xml.post-deinstall | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/main/docbook-xml/APKBUILD b/main/docbook-xml/APKBUILD index 5b62dea35e..9ffd5e16ad 100644 --- a/main/docbook-xml/APKBUILD +++ b/main/docbook-xml/APKBUILD @@ -1,11 +1,11 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=docbook-xml pkgver=4.5 -pkgrel=1 +pkgrel=2 pkgdesc="A widely used XML scheme for writing documentation and help" url="http://scrollkeeper.sourceforge.net/docbook.shtml" license="MIT" -depends="libxml2" +depends="libxml2-utils" makedepends= install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall" source="http://www.docbook.org/xml/$pkgver/$pkgname-$pkgver.zip diff --git a/main/docbook-xml/docbook-xml.post-deinstall b/main/docbook-xml/docbook-xml.post-deinstall index 925378617f..ed0157da7a 100644 --- a/main/docbook-xml/docbook-xml.post-deinstall +++ b/main/docbook-xml/docbook-xml.post-deinstall @@ -1,3 +1,5 @@ #!/bin/sh -xmlcatalog --noout --del file:///etc/xml/docbook-xml etc/xml/catalog +if which xmlcatalog >/dev/null; then + xmlcatalog --noout --del file:///etc/xml/docbook-xml etc/xml/catalog +fi |