Sophie

Sophie

distrib > PLD > ac > amd64 > media > dist > by-pkgid > 9d79bbb7e6211436bdeb020ac6faac5c > scriptlet

apache1-mod_auth_samba-1.1-4.amd64.rpm

POSTIN

/bin/sh
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache restart 1>&2 || :;
fi
fi };

POSTUN

/bin/sh
if [ "$1" = "0" ]; then
	{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache restart 1>&2 || :;
fi
fi };fi

Triggers

apache1-mod_auth_samba < 1:1.1-2.1

/bin/sh
# check that they're not using old apache.conf
if grep -q '^Include conf\.d' /etc/apache/apache.conf; then
	/usr/sbin/apxs1 -e -A -n auth_samba /etc/apache/modules/mod_auth_samba.so 1>&2
fi