Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > ed64b8d672ba5c7af09bf32dbe763506 > scriptlet

php4-pecl-docblock-0.1.0-1.amd64.rpm

POSTIN

/bin/sh
[ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || { \
# we use function, not to globber namespace with useless variables \
skip_auto_restart() { \
	. /etc/sysconfig/rpm; # global setting \
	[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache; # per service setting \
	echo ${RPM_SKIP_AUTO_RESTART:-no}; \
}; \
if [ -f /var/lock/subsys/apache ]; then \
	if [ $(skip_auto_restart) = no ]; then \
		/etc/rc.d/init.d/apache restart 1>&2; \
 \
	 \
	fi \
 \
	 \
fi }; [ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || { \
# we use function, not to globber namespace with useless variables \
skip_auto_restart() { \
	. /etc/sysconfig/rpm; # global setting \
	[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd; # per service setting \
	echo ${RPM_SKIP_AUTO_RESTART:-no}; \
}; \
if [ -f /var/lock/subsys/httpd ]; then \
	if [ $(skip_auto_restart) = no ]; then \
		/etc/rc.d/init.d/httpd restart 1>&2; \
 \
	 \
	fi \
 \
	 \
fi };

POSTUN

/bin/sh
if [ "$1" = 0 ]; then
	[ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || { \
# we use function, not to globber namespace with useless variables \
skip_auto_restart() { \
	. /etc/sysconfig/rpm; # global setting \
	[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache; # per service setting \
	echo ${RPM_SKIP_AUTO_RESTART:-no}; \
}; \
if [ -f /var/lock/subsys/apache ]; then \
	if [ $(skip_auto_restart) = no ]; then \
		/etc/rc.d/init.d/apache restart 1>&2; \
 \
	 \
	fi \
 \
	 \
fi }; 	[ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || { \
# we use function, not to globber namespace with useless variables \
skip_auto_restart() { \
	. /etc/sysconfig/rpm; # global setting \
	[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd; # per service setting \
	echo ${RPM_SKIP_AUTO_RESTART:-no}; \
}; \
if [ -f /var/lock/subsys/httpd ]; then \
	if [ $(skip_auto_restart) = no ]; then \
		/etc/rc.d/init.d/httpd restart 1>&2; \
 \
	 \
	fi \
 \
	 \
fi }; fi