Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > ca38ceaf10cab2ace29553fb3a7444fd > scriptlet

amavisd-new-2.6.4-1.fc12.noarch.rpm

PREIN

/bin/sh
if ! id amavis &>/dev/null ; then
    /usr/sbin/useradd -r -s /sbin/nologin -d /var/spool/amavisd amavis
fi

PREUN

/bin/sh
if [ "$1" = 0 ]; then
    /sbin/service amavisd stop 2>/dev/null || :
    /sbin/chkconfig --del amavisd || :
    /sbin/service clamd.amavisd stop 2>/dev/null || :
    /sbin/chkconfig --del clamd.amavisd || :
fi

POSTIN

/bin/sh
/sbin/chkconfig --add clamd.amavisd || :
/sbin/service clamd.amavisd condrestart || :
/sbin/chkconfig --add amavisd || :
/sbin/service amavisd condrestart || :