Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > 67a297217a487ca098f0a68f9d725c56 > scriptlet

etckeeper-1.18.8-2.mga7.noarch.rpm

PREUN

/bin/sh

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


if [ $1 -eq 0 ] ; then 
        # Package removal, not upgrade 
        systemctl --no-reload disable --now etckeeper.timer > /dev/null 2>&1 || : 
fi

POSTIN

/bin/sh
if [ $1 -gt 1 ] ; then
   /usr/bin/etckeeper update-ignore
fi

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


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