Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-updates > by-pkgid > 05b6e21cdd99137e1c8bc217afe3c772 > scriptlet

dnsmasq-2.77-1.2.mga6.x86_64.rpm

PREUN

/bin/sh

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

POSTIN

/bin/sh

if [ $1 -eq 1 ] ; then 
        # Initial installation 
        systemctl --no-reload preset dnsmasq.service >/dev/null 2>&1 || : 
fi

POSTUN

/bin/sh

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