Bug 524724 - /usr/bin/xdg-desktop-menu: line 1145: kde-config: command not found
Summary: /usr/bin/xdg-desktop-menu: line 1145: kde-config: command not found
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xdg-utils
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 524730
TreeView+ depends on / blocked
 
Reported: 2009-09-21 21:58 UTC by Orion Poplawski
Modified: 2009-12-17 18:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 524730 (view as bug list)
Environment:
Last Closed: 2009-09-22 00:32:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2009-09-21 21:58:06 UTC
Description of problem:

Fresh rawhide install:

Installing djvulibre-3.5.21-3.fc12.x86_64
/usr/bin/xdg-desktop-menu: line 1145: kde-config: command not found
/usr/bin/xdg-desktop-menu: line 1146: kde-config: command not found

I think just a judicious 2>/dev/null is needed assuming kde-config is optional.  Or perhaps a conditional test for kde-config's existence.

Version-Release number of selected component (if applicable):
xdg-utils-1.0.2-11.20090913cvs.fc12.noarch

Comment 1 Rex Dieter 2009-09-21 23:03:01 UTC
djvulibre probably shouldn't be using xdg-desktop-menu in scriptlets. 

There are better documented ways of doing this in the Packaging guidelines.

In the meantime, I'll fix the erroneous output. (normally, these tools are run in a user context, not a system/root one).

Comment 2 Rex Dieter 2009-09-22 00:32:58 UTC
* Mon Sep 21 2009 Rex Dieter <rdieter> - 1.0.2-12.20090921cvs
- suppress stderr from kde-config (#524724)


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