desktop file Exec mangling broken
Bug #1814907 reported by
Harald Sitter
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Invalid
|
Medium
|
Claudio Matsuoka |
Bug Description
According to https:/
Example https:/
```
➜ grep Exec prime/meta/
Exec=kbruch %U
```
tags: | added: 19.04-blue |
Changed in snapcraft: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: 19.04 |
Changed in snapcraft: | |
milestone: | none → 3.3 |
Changed in snapcraft: | |
milestone: | 3.3 → 3.4 |
assignee: | nobody → Claudio Matsuoka (cmatsuoka) |
Changed in snapcraft: | |
status: | Triaged → In Progress |
To post a comment you must log in.
In the provided example, the suffix is omitted because the application name (kbruch) matches the snap name. If we rename the snap to something else and build the package, the line in the desktop file becomes:
$ snapcraft --destructive-mode 18.12.1_ amd64.snap gui/kbruch. desktop lse.kbruch %U
Pulling kbruch
Building kbruch
Staging kbruch
Priming kbruch
Snapping 'somethingelse' |
Snapped somethingelse_
$ grep Exec prime/meta/
Exec=somethinge
which I believe is the expected behavior for rewriting desktop entries. Am I missing something?