Sophie

Sophie

distrib > Momonga > development > i686 > media > os > by-pkgid > dfcf6db8c9dfb4ef29f6172302f04dde > scriptlet

docbook-style-dsssl-1.79-9m.mo8.noarch.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
  for centralized in /etc/sgml/*-docbook-*.cat
  do   /usr/bin/install-catalog --remove $centralized /usr/share/sgml/openjade-1.3.2/catalog > /dev/null 2>/dev/null
    /usr/bin/install-catalog --remove $centralized /usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog > /dev/null 2>/dev/null
  done
fi
exit 0

POSTIN

/bin/sh
rel=$(echo /etc/sgml/sgml-docbook-3.0-*.cat)
rel=${rel##*-}
rel=${rel%.cat}
for centralized in /etc/sgml/*-docbook-*.cat
do
	/usr/bin/install-catalog --remove $centralized \
		/usr/share/sgml/docbook/dsssl-stylesheets-*/catalog \
		>/dev/null 2>/dev/null
done

for centralized in /etc/sgml/*-docbook-*$rel.cat
do
	/usr/bin/install-catalog --add $centralized \
		/usr/share/sgml/openjade-1.3.2/catalog \
		> /dev/null 2>/dev/null
	/usr/bin/install-catalog --add $centralized \
		/usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog \
		> /dev/null 2>/dev/null
done