Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > media > core > by-pkgid > f97d64e29612ffb7c3cb0fc1cf56734a > scriptlet

apache-common-1.3.41rusPL30.23-alt4.i586.rpm

PREIN

/bin/sh
/usr/sbin/groupadd -r -f apache 2>/dev/null ||:
/usr/sbin/groupadd -r -f webmaster 2>/dev/null ||:
/usr/sbin/useradd -g apache -c 'WWW server' -d /var/www -s '' \
	-r apache 2>/dev/null || :
if [ -e /home/httpd -a ! -e /var/www ]; then
	mkdir -p `dirname /var/www`
	ln -s /home/httpd /var/www
fi

# FIXME: see #2920
#post common
#find /var/log/httpd -group webmaster -print0 \
#| xargs -0 chgrp apache