Sophie

Sophie

distrib > Mageia > 8 > x86_64 > by-pkgid > cf4f33c0a2b9447078fee347881690b5 > scriptlet

dmraid-1.0.0-0.rc16.31.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 dmraid-activation.service || : 
fi

POSTIN

/bin/sh
/usr/bin/systemd-tmpfiles --create dmraid.conf 


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