29 lines
626 B
Plaintext
29 lines
626 B
Plaintext
|
# This is a default template for a post-install scriptlet.
|
||
|
# Uncomment only required functions and remove any functions
|
||
|
# you don't need (and this header).
|
||
|
|
||
|
post_install() {
|
||
|
install-catalog --add /etc/sgml/sgml-ent.cat \
|
||
|
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||
|
|
||
|
install-catalog --add /etc/sgml/sgml-docbook.cat \
|
||
|
/etc/sgml/sgml-ent.cat
|
||
|
}
|
||
|
|
||
|
pre_upgrade() {
|
||
|
pre_remove
|
||
|
}
|
||
|
|
||
|
post_upgrade() {
|
||
|
post_install
|
||
|
}
|
||
|
|
||
|
pre_remove() {
|
||
|
install-catalog --remove /etc/sgml/sgml-ent.cat \
|
||
|
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||
|
|
||
|
install-catalog --remove /etc/sgml/sgml-docbook.cat \
|
||
|
/etc/sgml/sgml-ent.cat
|
||
|
}
|
||
|
|