I need to add a desktop entry that call an executable with arguments.
Actually the entry Exec (that could contain the executable with
parameters) and the entry TryExec (used to test if the executable is
installed) are set to the same value.
I wonder if I can fix that with the following patch to the eutils eclass
@@ -900,7 +902,7 @@
 Type=Application
 Comment=${DESCRIPTION}
 Exec=${exec}
-TryExec=${exec}
+TryExec=${exec%% *}
 Path=${path}
 Icon=${icon}
 Categories=Application;${type};" > "${desktop}"

I meant: is there some ebuild that has space in the executable name, or
is there some way this change can break ebuilds. eutils is used by lot
of them, so I'm scared to break the whole tree.

Going to apply if I get no negative answer in, say, 10 days.

Alfredo

-- 
[email protected] mailing list

Reply via email to