Sophie

Sophie

distrib > Mageia > 8 > armv7hl > media > core-updates > by-pkgid > 92aa61d6ad02b030c0dcf1e3babaaebf > scriptlet

dnsmasq-2.85-1.mga8.armv7hl.rpm

PREIN

/bin/sh
/usr/share/rpm-helper/add-user dnsmasq $1 dnsmasq /dev/null /sbin/nologin

PREUN

/bin/sh

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

POSTIN

/bin/sh

 
if [ $1 -eq 1 ] && [ -x /usr/bin/systemctl ]; then 
        # Initial installation 
        /usr/bin/systemctl --no-reload preset dnsmasq.service || : 
fi

POSTUN

/bin/sh

 
if [ $1 -ge 1 ] && [ -x /usr/bin/systemctl ]; then 
        # Package upgrade, not uninstall 
        /usr/bin/systemctl try-restart dnsmasq.service || : 
fi 

/usr/share/rpm-helper/del-user dnsmasq $1 dnsmasq