mirror of
https://github.com/89luca89/distrobox.git
synced 2026-08-19 01:14:49 -05:00
export: fix regression in export app
In commit 4522f29ef5 a regression was
introduced that made buggy the export of some type of apps.
Fix this path adjust for icons only.
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
This commit is contained in:
+1
-1
@@ -402,7 +402,7 @@ export_application() {
|
||||
|
||||
# In case of an icon in a canonical path, but specified as an absolute
|
||||
# we need to replace the path in the desktop file.
|
||||
sed -i "s|/usr/share/|\/run\/host${host_home}/.local/share/|g" \
|
||||
sed -i "s|Icon=/usr/share/|Icon=/run/host${host_home}/.local/share/|g" \
|
||||
"/run/host${host_home}/.local/share/applications/${desktop_home_file}"
|
||||
sed -i "s|pixmaps|icons|g" \
|
||||
"/run/host${host_home}/.local/share/applications/${desktop_home_file}"
|
||||
|
||||
Reference in New Issue
Block a user