Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
27 lines
931 B
Diff
27 lines
931 B
Diff
diff --git a/distrobox-generate-entry b/distrobox-generate-entry
|
|
index 65fcea0..8d57e4e 100755
|
|
--- a/distrobox-generate-entry
|
|
+++ b/distrobox-generate-entry
|
|
@@ -51,7 +51,7 @@ container_manager="autodetect"
|
|
container_name_default="my-distrobox"
|
|
delete=0
|
|
icon="auto"
|
|
-icon_default="${XDG_DATA_HOME:-${HOME}/.local/share}/icons/terminal-distrobox-icon.svg"
|
|
+icon_default="terminal-distrobox-icon"
|
|
verbose=0
|
|
online=0
|
|
version="1.8.0"
|
|
@@ -335,12 +335,6 @@ if [ "${icon}" = "auto" ]; then
|
|
|
|
icon_url="$(echo "${DISTRO_ICON_MAP}" | grep "${container_distro}:" | cut -d':' -f2-)"
|
|
|
|
- # Distro not found in our map, fallback to generic icon
|
|
- if [ -z "${icon_url}" ]; then
|
|
- icon_url="https://raw.githubusercontent.com/89luca89/distrobox/main/icons/terminal-distrobox-icon.svg"
|
|
- container_distro="terminal-distrobox-icon"
|
|
- fi
|
|
-
|
|
if [ -n "${icon_url}" ] && [ "${download}" != "null" ]; then
|
|
icon_extension="${icon_url##*.}"
|
|
|