Remove obsolate poststripts
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=49
This commit is contained in:
parent
73c52f3ef9
commit
f5c71c9dfe
@ -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#622873 - postfix doesn't start if ipv6 is disabled
|
||||
|
||||
|
21
postfix.spec
21
postfix.spec
@ -444,27 +444,6 @@ fi
|
||||
%post
|
||||
# We never have to run suseconfig for postfix after installation
|
||||
# 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_only -an mail}
|
||||
/sbin/ldconfig
|
||||
|
Loading…
Reference in New Issue
Block a user