Bug 785256

Summary: foghorn: syntax error in preun scriptlet
Product: [Fedora] Fedora Reporter: Ryan O'Hara <rohara>
Component: foghornAssignee: Ryan O'Hara <rohara>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: rohara
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foghorn-0.1.2-6.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-27 19:43:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ryan O'Hara 2012-01-27 19:34:34 UTC
The foghorn.spec file has a syntax error in the preun scriptlet.

%preun
if [ "$1" == 0 ] then;
   /sbin/chkconfig --del foghorn
fi

This causes package updates to file. The scriptlet should actually be:

%preun
if [ "$1" == 0 ] ; then
   /sbin/chkconfig --del foghorn
fi