postinst is in docbook-ebnf 1.2~cr1-5.1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #!/bin/sh
set -e
# Automatically added by dh_installcatalogs
if [ "$1" = "configure" ]; then
rm -f /etc/sgml/docbook-ebnf.cat
for ordcat in /usr/share/sgml/docbook/custom/ebnf/catalog; do
update-catalog --quiet --add /etc/sgml/docbook-ebnf.cat ${ordcat}
done
update-catalog --quiet --add --super /etc/sgml/docbook-ebnf.cat
fi
# End automatically added section
# Automatically added by dh_installxmlcatalogs
if [ "$1" = "configure" ]; then
update-xmlcatalog --add --type system --id "http://www.oasis-open.org/docbook/xml/ebnf/1.0/dbebnf.dtd" --package docbook-ebnf --local /usr/share/xml/docbook/custom/ebnf/catalog.xml
update-xmlcatalog --add --type system --id "http://docbook.org/xml/ebnf/1.0/dbebnf.dtd" --package docbook-ebnf --local /usr/share/xml/docbook/custom/ebnf/catalog.xml
update-xmlcatalog --add --type public --id "-//OASIS//DTD DocBook EBNF Module V1.0//EN" --package docbook-ebnf --local /usr/share/xml/docbook/custom/ebnf/catalog.xml
update-xmlcatalog --add --type system --id "http://www.oasis-open.org/docbook/xml/ebnf/1.1CR1/dbebnf.dtd" --package docbook-ebnf --local /usr/share/xml/docbook/custom/ebnf/catalog.xml
update-xmlcatalog --add --type system --id "http://docbook.org/xml/ebnf/1.1CR1/dbebnf.dtd" --package docbook-ebnf --local /usr/share/xml/docbook/custom/ebnf/catalog.xml
update-xmlcatalog --add --type public --id "-//OASIS//DTD DocBook EBNF Module V1.1CR1//EN" --package docbook-ebnf --local /usr/share/xml/docbook/custom/ebnf/catalog.xml
update-xmlcatalog --add --type system --id "http://www.oasis-open.org/docbook/xml/ebnf/1.2CR1/dbebnf.dtd" --package docbook-ebnf --local /usr/share/xml/docbook/custom/ebnf/catalog.xml
update-xmlcatalog --add --type system --id "http://docbook.org/xml/ebnf/1.2CR1/dbebnf.dtd" --package docbook-ebnf --local /usr/share/xml/docbook/custom/ebnf/catalog.xml
update-xmlcatalog --add --type public --id "-//OASIS//DTD DocBook EBNF Module V1.2CR1//EN" --package docbook-ebnf --local /usr/share/xml/docbook/custom/ebnf/catalog.xml
update-xmlcatalog --add --type system --id "http://www.oasis-open.org/docbook/xml/ebnf/1.2b1/dbebnf.dtd" --package docbook-ebnf --local /usr/share/xml/docbook/custom/ebnf/catalog.xml
update-xmlcatalog --add --type system --id "http://docbook.org/xml/ebnf/1.2b1/dbebnf.dtd" --package docbook-ebnf --local /usr/share/xml/docbook/custom/ebnf/catalog.xml
update-xmlcatalog --add --type public --id "-//OASIS//DTD DocBook EBNF Module V1.2b1//EN" --package docbook-ebnf --local /usr/share/xml/docbook/custom/ebnf/catalog.xml
update-xmlcatalog --add --type public --id "-//OASIS//DTD DocBook EBNF Module" --package docbook-ebnf --root
update-xmlcatalog --add --type system --id "http://www.oasis-open.org/docbook/xml/ebnf/" --package docbook-ebnf --root
update-xmlcatalog --add --type system --id "http://docbook.org/xml/ebnf/" --package docbook-ebnf --root
fi
# End automatically added section
|