Bug 542975

Summary: packaging error... typo in %postun
Product: [Fedora] Fedora Reporter: Rudolf Kastl <che666>
Component: virtaalAssignee: Dwayne Bailey <dwayne>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwayne
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.5.0-1.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-02 05:52:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rudolf Kastl 2009-12-01 11:29:21 UTC
Description of problem:
rpm -q --scripts virtaal
postinstall scriptlet (using /bin/sh):
update-desktop-database &> /dev/null || :
update-mime-database /usr/share/mime &> /dev/null || :
touch --no-create /usr/share/icons/hicolor &> /dev/null || :
postuninstall scriptlet (using /bin/sh):
update-desktop-database &> /dev/null || :
update-mime-database /usr/share/mime &> /dev/null || :
ff [ $1 -eq 0 ] ; then
    touch --no-create /usr/share/icons/hicolor &>/dev/null
    gtk-update-icon-cache /usr/share/icons/hicolor &>/dev/null || :
fi
posttrans scriptlet (using /bin/sh):
gtk-update-icon-cache /usr/share/icons/hicolor &>/dev/null || :

ff [ $1 -eq 0 ] ; then <- heres the typo... it is supposed to be called "if" instead "ff"


Version-Release number of selected component (if applicable):
virtaal-0.5.0-0.1.rc1.fc12.noarch

Comment 1 Dwayne Bailey 2009-12-02 05:10:31 UTC
Thanks for catching that.  I've fixed this in devel and F-12.  F-11 is unaffected.

Virtaal 0.5.0 final will be out soon so I will delay the release of this fix till then.

Comment 2 Fedora Update System 2009-12-03 21:35:02 UTC
virtaal-0.5.0-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/virtaal-0.5.0-1.fc12

Comment 3 Fedora Update System 2009-12-18 04:27:42 UTC
virtaal-0.5.0-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.