1 # arg 1: the new package version
6 # arg 1: the new package version
7 # arg 2: the old package version
9 remove_catalog "${2%-*}"
12 # arg 1: the new package version
13 # arg 2: the old package version
18 # arg 1: the old package version
20 remove_catalog "${1%-*}"
23 install-catalog --add /etc/sgml/sgml-docbook-dtd-$1.cat \
24 /usr/share/sgml/docbook-sgml-$1/catalog > /dev/null 2>&1
26 install-catalog --add /etc/sgml/sgml-docbook-dtd-$1.cat \
27 /etc/sgml/sgml-docbook.cat > /dev/null 2>&1
31 install-catalog --remove /etc/sgml/sgml-docbook-dtd-$1.cat \
32 /usr/share/sgml/docbook-sgml-$1/catalog > /dev/null 2>&1
34 install-catalog --remove /etc/sgml/sgml-docbook-dtd-$1.cat \
35 /etc/sgml/sgml-docbook.cat > /dev/null 2>&1
41 # vim:set syntax=sh ts=4 sw=4 noet: