Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > by-pkgid > 0058d3d4bcf7c82b95fe6cf9ff9920f7 > scriptlet

docbook-style-dsssl-1.79-18.mga7.noarch.rpm

PREUN

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

POSTIN

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