Bug 785256 - foghorn: syntax error in preun scriptlet
Summary: foghorn: syntax error in preun scriptlet
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: foghorn
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ryan O'Hara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-27 19:34 UTC by Ryan O'Hara
Modified: 2012-01-27 19:43 UTC (History)
1 user (show)

Fixed In Version: foghorn-0.1.2-6.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-27 19:43:10 UTC
Type: ---


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.