Accepting request 88128 from server:mail

Only fix files that exists in %post section

OBS-URL: https://build.opensuse.org/request/show/88128
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postfix?expand=0&rev=79
This commit is contained in:
Sascha Peilicke 2011-10-18 12:27:42 +00:00 committed by Git OBS Bridge
commit feac18de00
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Oct 14 16:43:02 CEST 2011 - mhrusecky@suse.cz
- only fix files that exists in %post
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Oct 9 04:30:54 UTC 2011 - crrodriguez@opensuse.org Sun Oct 9 04:30:54 UTC 2011 - crrodriguez@opensuse.org

View File

@ -391,7 +391,7 @@ else
fi fi
fi fi
# before fillup we need to fix something # before fillup we need to fix something
%{__sed} -i \ [ \! -f %{_sysconfdir}/sysconfig/%{name} ] || %{__sed} -i \
-e "s/POSTFIX_SMTPD_SENDERNT_RESTRICTIONS/POSTFIX_SMTPD_SENDER_RESTRICTIONS/" \ -e "s/POSTFIX_SMTPD_SENDERNT_RESTRICTIONS/POSTFIX_SMTPD_SENDER_RESTRICTIONS/" \
%{_sysconfdir}/sysconfig/%{name} %{_sysconfdir}/sysconfig/%{name}
%{fillup_and_insserv -y postfix} %{fillup_and_insserv -y postfix}