Sophie

Sophie

distrib > Mageia > 7 > armv7hl > by-pkgid > 80ac4954c84cb002c75a1e5199b37f74 > scriptlet

redshift-gtk-1.12-3.3.mga7.armv7hl.rpm

PREUN

/bin/sh

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

POSTIN

/bin/sh

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