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 +}