evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / di / distrobox / relative-default-icon.patch
blob069c2d40d618a13da95e917c712f85c0bf94fae5
1 diff --git a/distrobox-generate-entry b/distrobox-generate-entry
2 index 65fcea0..8d57e4e 100755
3 --- a/distrobox-generate-entry
4 +++ b/distrobox-generate-entry
5 @@ -51,7 +51,7 @@ container_manager="autodetect"
6 container_name_default="my-distrobox"
7 delete=0
8 icon="auto"
9 -icon_default="${XDG_DATA_HOME:-${HOME}/.local/share}/icons/terminal-distrobox-icon.svg"
10 +icon_default="terminal-distrobox-icon"
11 verbose=0
12 online=0
13 version="1.8.0"
14 @@ -335,12 +335,6 @@ if [ "${icon}" = "auto" ]; then
16 icon_url="$(echo "${DISTRO_ICON_MAP}" | grep "${container_distro}:" | cut -d':' -f2-)"
18 - # Distro not found in our map, fallback to generic icon
19 - if [ -z "${icon_url}" ]; then
20 - icon_url="https://raw.githubusercontent.com/89luca89/distrobox/main/icons/terminal-distrobox-icon.svg"
21 - container_distro="terminal-distrobox-icon"
22 - fi
24 if [ -n "${icon_url}" ] && [ "${download}" != "null" ]; then
25 icon_extension="${icon_url##*.}"