Sophie

Sophie

distrib > Mageia > 8 > i586 > media > core-release > by-pkgid > 2bbc55af432b0366d757cea0aa65981f > scriptlet

nfs-ganesha-2.8.2-3.mga8.i586.rpm

PREUN

/bin/sh

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

POSTIN

/bin/sh

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


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

POSTUN

/bin/sh

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