[foghorn/f16] Fix syntax error in preun scriptlet.

rohara rohara at fedoraproject.org
Fri Jan 27 19:38:52 UTC 2012


commit 73bb4ea4ca2b77e157af3500010bad150ad06c5d
Author: Ryan O'Hara <rohara at redhat.com>
Date:   Fri Jan 27 13:38:29 2012 -0600

    Fix syntax error in preun scriptlet.
    
    Signed-off-by: Ryan O'Hara <rohara at redhat.com>

 foghorn.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/foghorn.spec b/foghorn.spec
index fab1d79..5f2a6e3 100644
--- a/foghorn.spec
+++ b/foghorn.spec
@@ -5,7 +5,7 @@
 
 Name: foghorn
 Version: 0.1.2
-Release: 5%{?dist}
+Release: 6%{?dist}
 Summary: D-Bus to SNMP service.
 Group: System Environment/Base
 License: GPLv2+
@@ -45,7 +45,7 @@ rm -rf $RPM_BUILD_ROOT
 /sbin/chkconfig --add foghorn
 
 %preun
-if [ "$1" == 0 ] then;
+if [ "$1" == 0 ] ; then
    /sbin/chkconfig --del foghorn
 fi
 
@@ -61,6 +61,10 @@ fi
 %{_sbindir}/foghorn
 
 %changelog
+* Fri Jan 27 2011 Ryan O'Hara <rohara at redhat.com> - 0.1.2-6
+- Fix syntax error in preun scriptlet.
+- Resolves: rhbz#785256
+
 * Mon Jul 11 2011 Ryan O'Hara <rohara at redhat.com> - 0.1.2-5
 - Rebuild for broken dependencies.
 


More information about the scm-commits mailing list