[postfix] Fixed sysvinit preun scriptlet

Jaroslav Škarvada jskarvad at fedoraproject.org
Tue Nov 8 16:50:57 UTC 2011


commit 0da5c6359670cc07aac3c3c9de06ef3b105bb0a7
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date:   Tue Nov 8 17:50:52 2011 +0100

    Fixed sysvinit preun scriptlet

 postfix.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/postfix.spec b/postfix.spec
index 99c3c35..83fff0b 100644
--- a/postfix.spec
+++ b/postfix.spec
@@ -38,7 +38,7 @@
 Name: postfix
 Summary: Postfix Mail Transport Agent
 Version: 2.8.7
-Release: 2%{?dist}
+Release: 3%{?dist}
 Epoch: 2
 Group: System Environment/Daemons
 URL: http://www.postfix.org
@@ -380,6 +380,7 @@ fi
 if [ "$1" = 0 ]; then
     %{_initrddir}/postfix stop >/dev/null 2>&1 ||:
     /sbin/chkconfig --del postfix >/dev/null 2>&1 ||:
+fi
 
 %postun sysvinit
 [ "$1" -ge 1 ] && %{_initrddir}/postfix condrestart >/dev/null 2>&1 ||:
@@ -524,6 +525,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Tue Nov  8 2011 Jaroslav Škarvada <jskarvad at redhat.com> - 2:2.8.7-3
+- Fixed sysvinit preun scriptlet
+
 * Tue Nov  8 2011 Jaroslav Škarvada <jskarvad at redhat.com> - 2:2.8.7-2
 - Introduce systemd unit file, thanks to Jóhann B. Guðmundsson <johannbg at hi.is>
   Resolves: rhbz#718793


More information about the scm-commits mailing list