diff options
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 5b62dea35..9ffd5e16a 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 925378617..ed0157da7 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 |