Bug 212131

Summary: broken postinstall scriptlet
Product: [Fedora] Fedora Reporter: Ralf Corsepius <rc040203>
Component: xsaneAssignee: Nils Philippsen <nphilipp>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-25 10:54:37 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 Ralf Corsepius 2006-10-25 08:54:07 UTC
Description of problem:
The postinstall scriptlet contains a syntax error:

# rpm -q -scripts xsane-gimp
postinstall scriptlet (using /bin/sh):
if [ -x "/usr/sbin/gimp-plugin-mgr"]; then
    /usr/sbin/gimp-plugin-mgr --install xsane
fi

Note, there is a blank missing between the '"' and the ']' on line containing
the 'if'.

This causes yum-updates to fail:
  Updating  : xsane-gimp                   ####################### [ 8/24]
/var/tmp/rpm-tmp.95854: line 1: [: missing `]'
...

Version-Release number of selected component (if applicable):
xsane-gimp-0.991-3.fc5

How reproducible:
Deterministic

Comment 1 Nils Philippsen 2006-10-25 10:54:37 UTC

*** This bug has been marked as a duplicate of 212063 ***