Sophie

Sophie

distrib > Mageia > 8 > x86_64 > by-pkgid > 5488eedb27d1a789639cd7cca88e9fa6 > scriptlet

cri-o-1.17.3-1.mga8.x86_64.rpm

PREUN

/bin/sh

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

POSTIN

/bin/sh

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

POSTUN

/bin/sh

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


#define license tag if not already defined