Sophie

Sophie

distrib > Mageia > 6 > armv5tl > by-pkgid > 08864100dd3d6a4bbc026a1af245537f > scriptlet

dnf-automatic-2.5.1-2.mga6.noarch.rpm

PREUN

/bin/sh

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


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


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

POSTIN

/bin/sh

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


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


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

POSTUN

/bin/sh

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


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


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