Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 1c0e12d8a566573f828bee1f92615916 > scriptlet

redshift-1.12-3.3.mga7.armv7hl.rpm

PREUN

/bin/sh

if [ $1 -eq 0 ] ; then 
        # Package removal, not upgrade 
        systemctl --global disable redshift.service >/dev/null 2>&1 || : 
fi

POSTIN

/bin/sh

if [ $1 -eq 1 ] ; then 
        # Initial installation 
        systemctl --no-reload preset \--global redshift.service >/dev/null 2>&1 || : 
fi