Bug 152212 - postinstall script error...
Summary: postinstall script error...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-rootpassword
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-03-26 15:08 UTC by Jef Spaleta
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-04-28 01:12:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jef Spaleta 2005-03-26 15:08:39 UTC
Description of problem:
 rpm -q --scripts system-config-rootpassword
if [-x /usr/bin/gtk-update-icon-cache ]; then   <------ ERROR
  gtk-update-icon-cache /usr/share/icons/hicolor
fi
postuninstall scriptlet (using /bin/sh):
touch --no-create /usr/share/icons/hicolor
if [-x /usr/bin/gtk-update-icon-cache ]; then    <------ ERROR
  gtk-update-icon-cache /usr/share/icons/hicolor
fi


Need a space before -xif 
Should be: [ -x /usr/bin/gtk-update-icon-cache ]; then   


Version-Release number of selected component (if applicable):
system-config-rootpassword-1.1.6-2

Comment 1 Robert Scheck 2005-03-27 01:25:15 UTC
And do a ">> /dev/null" to avoid output of gtk-update-icon-cache...


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