Skip to content

Commit

Permalink
export: absolute path of exported icons should correspond to host's h…
Browse files Browse the repository at this point in the history
…ome, not from inside
  • Loading branch information
89luca89 committed Feb 26, 2024
1 parent 58ffed3 commit a4e19c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distrobox-export
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ export_application() {

# check if we're exporting an icon which is not in a canonical path
if [ "${icon_home_directory}" = "$(dirname "${icon_file}")" ]; then
icon_home_directory="/run/host${host_home}/.local/share/icons/"
icon_home_directory="${host_home}/.local/share/icons/"
icon_file_absolute_path="${icon_home_directory}$(basename "${icon_file}")"
fi

Expand Down

0 comments on commit a4e19c3

Please sign in to comment.