From aab4e53dbb9e171fba14e12495e59d6b48a9e2df Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 23 Apr 2010 15:30:08 +0200 Subject: [PATCH] docbook-xml: (un)register XML catalogs in the chroot. --HG-- extra : convert_revision : ab579ec07ea15ccbc47395a85b1a4d5a3190b230 --- srcpkgs/docbook-xml/template | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/srcpkgs/docbook-xml/template b/srcpkgs/docbook-xml/template index 05e81829589..f4a3fac64ef 100644 --- a/srcpkgs/docbook-xml/template +++ b/srcpkgs/docbook-xml/template @@ -75,3 +75,9 @@ post_install() cd ${XBPS_MASTERDIR} ${XBPS_TRIGGERSDIR}/xml-catalog run post-install } + +pre_remove() +{ + cd ${XBPS_MASTERDIR} + ${XBPS_TRIGGERSDIR}/xml-catalog run pre-remove +}