Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > 098be9765d24b49259f71f08b7a3b635 > scriptlet

bind-sdb-9.9.3-7.P2.fc18.x86_64.rpm

PREUN

/bin/sh
# Package removal, not upgrade

if [ $1 -eq 0 ] ; then 
        # Package removal, not upgrade 
        /usr/bin/systemctl --no-reload disable named-sdb.service > /dev/null 2>&1 || : 
        /usr/bin/systemctl stop named-sdb.service > /dev/null 2>&1 || : 
fi

POSTIN

/bin/sh
# Initial installation 

if [ $1 -eq 1 ] ; then 
        # Initial installation 
        /usr/bin/systemctl preset named-sdb.service >/dev/null 2>&1 || : 
fi

POSTUN

/bin/sh
# Package upgrade, not uninstall

/usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : 
if [ $1 -ge 1 ] ; then 
        # Package upgrade, not uninstall 
        /usr/bin/systemctl try-restart named-sdb.service >/dev/null 2>&1 || : 
fi