diff --git a/postfix.changes b/postfix.changes index a628129..cc4047d 100644 --- a/postfix.changes +++ b/postfix.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Oct 11 13:32:32 UTC 2013 - matz@suse.de + +- Ignore errors in %pre/%post. + ------------------------------------------------------------------- Thu Oct 3 02:47:54 UTC 2013 - crrodriguez@opensuse.org diff --git a/postfix.spec b/postfix.spec index 73a6b2e..923fbbb 100644 --- a/postfix.spec +++ b/postfix.spec @@ -336,7 +336,7 @@ install -m 755 %{SOURCE11} $RPM_BUILD_ROOT/usr/sbin/ %service_add_pre %{name}.service %endif -VERSIONTEST=$(test -x usr/sbin/postconf && usr/sbin/postconf proxy_read_maps 2>/dev/null) +VERSIONTEST=$(test -x usr/sbin/postconf && usr/sbin/postconf proxy_read_maps 2>/dev/null || :) if [ -z "$VERSIONTEST" -a -f %{pf_queue_directory}/pid/master.pid ]; then if checkproc -p %{pf_queue_directory}/pid/master.pid usr/lib/%{name}/master; then echo "%{name} is still running. You have to stop %{name} in order to" @@ -412,7 +412,7 @@ fi %post # We never have to run suseconfig for postfix after installation # We only start postfix own upgrade-configuration by update -/usr/sbin/postfix set-permissions +/usr/sbin/postfix set-permissions || : if [ ${1:-0} -gt 1 ]; then touch /var/adm/postfix.configured /usr/sbin/postfix upgrade-configuration || :