From: | Ulrich Mueller <ulm@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | [gentoo-dev] Re: [PATCH] desktop.eclass: Sanitize filename of desktop entry. | ||
Date: | Wed, 25 Mar 2020 08:29:14 | ||
Message-Id: | u8sjozvlb@gentoo.org | ||
In Reply to: | [gentoo-dev] [PATCH] desktop.eclass: Sanitize filename of desktop entry. by "Ulrich Müller" |
1 | >>>>> On Wed, 25 Mar 2020, Ulrich Müller wrote: |
2 | |
3 | > + local desktop="${exec%%[[:space:]]*}" |
4 | > + desktop="${T}/${desktop##*/}-${desktop_name}.desktop" |
5 | |
6 | Alternatively, we could use the executable's basename only, without |
7 | appending PN (but still appending SLOT if different from 0). Or do we |
8 | really expect collisions between different packages that install |
9 | executables with the same name? |
10 | |
11 | What do you think? |
12 | |
13 | Ulrich |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |