prerm is in docbook-simple 1.1-4.2.
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 33 34 35 | #!/bin/sh
set -e
# Automatically added by dh_installxmlcatalogs
if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]; then
update-xmlcatalog --del --type public --id "-//OASIS//DTD Simplified DocBook" --root || true
update-xmlcatalog --del --type system --id "http://www.oasis-open.org/docbook/xml/simple/" --root || true
update-xmlcatalog --del --type system --id "http://docbook.org/xml/simple/" --root || true
update-xmlcatalog --del --type system --id "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbook.dtd" --package docbook-simple || true
update-xmlcatalog --del --type system --id "http://docbook.org/xml/simple/1.0/sdocbook.dtd" --package docbook-simple || true
update-xmlcatalog --del --type system --id "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbook-custom.dtd" --package docbook-simple || true
update-xmlcatalog --del --type system --id "http://docbook.org/xml/simple/1.0/sdocbook-custom.dtd" --package docbook-simple || true
update-xmlcatalog --del --type system --id "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbookref.dtd" --package docbook-simple || true
update-xmlcatalog --del --type system --id "http://docbook.org/xml/simple/1.0/sdocbookref.dtd" --package docbook-simple || true
update-xmlcatalog --del --type system --id "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbookref-custom.dtd" --package docbook-simple || true
update-xmlcatalog --del --type system --id "http://docbook.org/xml/simple/1.0/sdocbookref-custom.dtd" --package docbook-simple || true
update-xmlcatalog --del --type public --id "-//OASIS//DTD Simplified DocBook XML V1.0//EN" --package docbook-simple || true
update-xmlcatalog --del --type public --id "-//OASIS//DTD Simplified DocBook XML Customization V1.0//EN" --package docbook-simple || true
update-xmlcatalog --del --type public --id "-//OASIS//DTD Simplified DocBook RefEntry XML V1.0//EN" --package docbook-simple || true
update-xmlcatalog --del --type public --id "-//OASIS//DTD Simplified DocBook RefEntry XML Customization V1.0//EN " --package docbook-simple || true
update-xmlcatalog --del --type system --id "http://www.oasis-open.org/docbook/xml/simple/1.1/sdocbook.dtd" --package docbook-simple || true
update-xmlcatalog --del --type system --id "http://docbook.org/xml/simple/1.1/sdocbook.dtd" --package docbook-simple || true
update-xmlcatalog --del --type system --id "http://www.oasis-open.org/docbook/xml/simple/1.1/sdocbook-custom.dtd" --package docbook-simple || true
update-xmlcatalog --del --type system --id "http://docbook.org/xml/simple/1.1/sdocbook-custom.dtd" --package docbook-simple || true
update-xmlcatalog --del --type system --id "http://www.oasis-open.org/docbook/xml/simple/1.1/sdocbookref.dtd" --package docbook-simple || true
update-xmlcatalog --del --type system --id "http://docbook.org/xml/simple/1.1/sdocbookref.dtd" --package docbook-simple || true
update-xmlcatalog --del --type system --id "http://www.oasis-open.org/docbook/xml/simple/1.1/sdocbookref-custom.dtd" --package docbook-simple || true
update-xmlcatalog --del --type system --id "http://docbook.org/xml/simple/1.1/sdocbookref-custom.dtd" --package docbook-simple || true
update-xmlcatalog --del --type public --id "-//OASIS//DTD Simplified DocBook XML V1.1//EN" --package docbook-simple || true
update-xmlcatalog --del --type public --id "-//OASIS//DTD Simplified DocBook XML Customization V1.1//EN" --package docbook-simple || true
update-xmlcatalog --del --type public --id "-//OASIS//DTD Simplified DocBook RefEntry XML V1.1//EN" --package docbook-simple || true
update-xmlcatalog --del --type public --id "-//OASIS//DTD Simplified DocBook RefEntry XML Customization V1.1//EN " --package docbook-simple || true
fi
# End automatically added section
|