Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > a83af0f980d58e642876abc7972e5e2c > scriptlet

halevt-0.1.6.2-4.fc15.i686.rpm

PREIN

/bin/sh
getent group halevt >/dev/null || groupadd -r halevt
getent passwd halevt >/dev/null || \
useradd -r -g halevt -d /var/lib/halevt -s /sbin/nologin \
    -c "Halevt system user" halevt
exit 0

PREUN

/bin/sh
if [ $1 = 0 ]; then
        /sbin/service halevt stop >/dev/null 2>&1 || :
        /sbin/chkconfig --del halevt

        /sbin/install-info --delete /usr/share/info/halevt.info /usr/share/info/dir || :
fi

POSTIN

/bin/sh
# This adds the proper /etc/rc*.d links for the script
/sbin/chkconfig --add halevt
/sbin/install-info /usr/share/info/halevt.info /usr/share/info/dir || :