Sophie

Sophie

distrib > PLD > ra > i686 > media > dist > by-pkgid > 33f9c7a8935440ab73e87a7eae2dab42 > scriptlet

courier-imap-authmysql-1.5.3-5.i686.rpm

PREUN

/bin/sh
METHOD=plain
. /etc/sysconfig/authdaemon
if [ "$1" = "$0" -a "$METHOD" = "mysql" ]; then
	if [ -f /var/lock/subsys/authdaemon ]; then
		/etc/rc.d/init.d/authdaemon stop >&2
	fi
fi

POSTIN

/bin/sh
METHOD=plain
. /etc/sysconfig/authdaemon
if [ "$METHOD" = "mysql" ]; then
	if [ -f /var/lock/subsys/authdaemon ]; then
		/etc/rc.d/init.d/authdaemon restart >&2
	else
		echo "Run \"/etc/rc.d/init.d/authdaemon start\" to start courier-imap authdaemon."
	fi
fi