Bug 166989

Summary: redhat-artwork iconcache fails for some situations
Product: [Fedora] Fedora Reporter: Sammy <umar>
Component: redhat-artworkAssignee: John (J5) Palmieri <johnp>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jkeck
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: 2005-10-03 04:32:50 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 Sammy 2005-08-29 14:37:43 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.4; Linux; X11; en_US) KHTML/3.4.2 (like Gecko)

Description of problem:
The update of the rpm fails with error messages under these conditions: 
 
1. There are other directories in /usr/share/icons e.g. for custom cursors, that do 
     not contain index.theme files. 
 
2. Custom icon directories that have index.desktop instead of index.theme 
 
3. Icon theme files (or desktop) that contain the header [KDE Icon Theme] instead of 
    just [Icon Theme] 
 
 
It should be easy to sweep through the directories and check/fix these in %post. I 
would suggest: 
 
 1. Ignore directories that do not contain either index.theme or index.desktop file 
 2. Rename index.desktop files to index.theme (or generalize iconcache to look for 
      either) 
 3. Either fix the KDE presence or modify iconcache to consider that too. 

Version-Release number of selected component (if applicable):
redhat-artwork-0.128-1

How reproducible:
Always

Steps to Reproduce:
1. Try to update redhat-artwork on a system containing custom icon/cursor directories 
2. 
3. 
   

Additional info:

Comment 1 Matthias Clasen 2005-10-03 04:32:50 UTC
no idea what index.desktop files could be, but the %post hook checks for
index.theme now.