Sophie

Sophie

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

profile-sync-daemon-6.33-2.mga7.noarch.rpm

PREUN

/bin/sh
if [ $1 -eq 0 ]; then
 setsebool -P rsync_full_access 0 >/dev/null 2>&1 || :
fi

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

POSTIN

/bin/sh
if [ $1 -eq 1 ]; then 
 setsebool -P rsync_full_access 1 >/dev/null 2>&1 || :
fi

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

POSTUN

/bin/sh

if [ $1 -ge 1 ] ; then 
        # Package upgrade, not uninstall 
        systemctl try-restart psd.service >/dev/null 2>&1 || : 
fi