Remove obsolate poststripts

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=49
This commit is contained in:
Peter Varkoly 2010-08-12 18:58:14 +00:00 committed by Git OBS Bridge
parent 73c52f3ef9
commit f5c71c9dfe
2 changed files with 2 additions and 22 deletions

View File

@ -1,6 +1,7 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jul 30 12:13:19 UTC 2010 - varkoly@novell.com Thu Aug 12 18:57:14 UTC 2010 - varkoly@novell.com
- Remove obsolate postscripts
- bnc#625657 - SuSEconfig.postfix and smtp_use_tls - bnc#625657 - SuSEconfig.postfix and smtp_use_tls
- bnc#622873 - postfix doesn't start if ipv6 is disabled - bnc#622873 - postfix doesn't start if ipv6 is disabled

View File

@ -444,27 +444,6 @@ fi
%post %post
# We never have to run suseconfig for postfix after installation # We never have to run suseconfig for postfix after installation
# We only start postfix own upgrade-configuration by update # We only start postfix own upgrade-configuration by update
if [ ${1:-0} -gt 1 ]; then
#echo "executing upgrade-configuration"
#/usr/sbin/%{name} set-permissions upgrade-configuration setgid_group=%{pf_setgid_group}
#New map in 11.2 #TODO remove it later
. /etc/sysconfig/postfix
RELAY=`echo $POSTFIX_MAP_LIST | grep -P " relay | relay$"`
if [ -z "$RELAY" ]
then
sed -i "s/^POSTFIX_MAP_LIST=.*/POSTFIX_MAP_LIST=\"$POSTFIX_MAP_LIST relay\"/" /etc/sysconfig/postfix
fi
if [ ! -e /var/adm/BNC-555814.fixed ]
then
touch /var/adm/BNC-555814.fixed
. /etc/sysconfig/mail
if [ "$CONFIG_TYPE" = "undef" ]
then
sed -i 's/SMTPD_LISTEN_REMOTE=.*/SMTPD_LISTEN_REMOTE=""/' /etc/sysconfig/mail
postconf -e 'inet_interfaces = localhost'
fi
fi
fi
%{fillup_and_insserv -y postfix} %{fillup_and_insserv -y postfix}
%{fillup_only -an mail} %{fillup_only -an mail}
/sbin/ldconfig /sbin/ldconfig