Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-updates > by-pkgid > ec7efda2b7b4c12ea9ad081eeeaaaf52 > scriptlet

dnf-automatic-2.6.2-1.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