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:
Luca Di Maio
2022-06-05 18:58:39 +02:00
parent 101482254b
commit 65d0d499b7
+1 -1
View File
@@ -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}"