Sophie

Sophie

distrib > PLD > ra > i686 > media > dist > by-pkgid > 8568dcbfe3eb26e44bdb4573c93570fb > scriptlet

apache-mod_define-1.3.27-3.i686.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
	/usr/sbin/apxs -e -A -n define /usr/lib/apache/mod_define.so 1>&2
	if [ -f /var/lock/subsys/httpd ]; then
		/etc/rc.d/init.d/httpd restart 1>&2
	fi
fi

POSTIN

/bin/sh
/usr/sbin/apxs -e -a -n define /usr/lib/apache/mod_define.so 1>&2
if [ -f /var/lock/subsys/httpd ]; then
	/etc/rc.d/init.d/httpd restart 1>&2
else
	echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
fi