Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > media > core > by-pkgid > 7b7dae31b85a8980d8ecdfee0ee73dd7 > scriptlet

postfix-tls-2.4.9-alt0.M41.1.i586.rpm

PREUN

/bin/sh
if [ $1 = 0 ]; then
	for n in smtp smtpd; do
	      ln -snf "$n"-std /usr/libexec/postfix/"$n"
	done
	sed -i 's/[^#]*tlsmgr/#&/' /etc/postfix/postfix-files
fi

POSTIN

/bin/sh
for n in smtp smtpd; do
      ln -snf "$n"-tls /usr/libexec/postfix/"$n"
done
sed -i 's/^#\(.*tlsmgr\)/\1/' /etc/postfix/postfix-files
/etc/postfix/post-install upgrade-package