PREIN
/bin/sh
getent group slocate >/dev/null || groupadd -g 21 -r -f slocate exit 0
POSTIN
/bin/sh
if /bin/grep -q '^[^#]*DAILY_UPDATE' /etc/updatedb.conf; then /bin/sed -i.rpmsave -e '/DAILY_UPDATE/s/^/#/' /etc/updatedb.conf fi
/bin/sh
getent group slocate >/dev/null || groupadd -g 21 -r -f slocate exit 0
/bin/sh
if /bin/grep -q '^[^#]*DAILY_UPDATE' /etc/updatedb.conf; then /bin/sed -i.rpmsave -e '/DAILY_UPDATE/s/^/#/' /etc/updatedb.conf fi