OBS User autobuild 2009-12-11 12:34:57 +00:00 committed by Git OBS Bridge
parent c110b90cc2
commit a424a81236
2 changed files with 4 additions and 20 deletions

View File

@ -1,13 +1,3 @@
-------------------------------------------------------------------
Tue Dec 10 13:15:15 CET 2009 - varkoly@suse.de
- Remove postfixs update script. This does not work now.
-------------------------------------------------------------------
Tue Dec 8 19:15:15 CET 2009 - varkoly@suse.de
- Fix the %post section add missed %{fillup_only -an mail}
-------------------------------------------------------------------
Mon Nov 16 17:14:39 CET 2009 - varkoly@suse.de

View File

@ -437,11 +437,12 @@ fi
# ---------------------------------------------------------------------------
%post
%{fillup_and_insserv -y postfix}
# 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}
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$"`
@ -451,17 +452,10 @@ if [ ${1:-0} -gt 1 ]; then
fi
if [ ! -e /var/adm/BNC-555814.fixed ]
then
sed -i 's/SMTPD_LISTEN_REMOTE=.*/SMTPD_LISTEN_REMOTE=""/' /etc/sysconfig/mail
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}
ldconfig
# ---------------------------------------------------------------------------