Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 207956 Details for
Bug 290102
desktop.eclass: make_desktop_entry creates ugly .desktop file names
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
second try
eutils_eclass-better_desktop_filenames.diff (text/plain), 595 bytes, created by
Konstantin
on 2009-10-23 04:35:21 UTC
(
hide
)
Description:
second try
Filename:
MIME Type:
Creator:
Konstantin
Created:
2009-10-23 04:35:21 UTC
Size:
595 bytes
patch
obsolete
>--- eutils.eclass >+++ eutils.eclass >@@ -942,8 +942,9 @@ > else > local desktop_name="${PN}-${SLOT}" > fi >- local desktop="${T}/$(echo ${exec} | sed 's:[[:space:]/:]:_:g')-${desktop_name}.desktop" >- #local desktop=${T}/${exec%% *:-${desktop_name}}.desktop >+ local desktop="${T}/$(echo ${exec} | sed 's/.*\///' | sed 's:[[:space:]/:]:_:g')-${desktop_name}.desktop" >+ [ -f "${desktop}" ] && [[ $(cat "${desktop}" | grep ^Exec= | sed 's/Exec=//') != ${exec} ]] && >+ desktop="${T}/$(echo ${exec} | sed 's:[[:space:]/:]:_:g')-${desktop_name}.desktop" > > cat <<-EOF > "${desktop}" > [Desktop Entry]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 290102
:
207889
|
207956
|
207960