From 64c18df32684634c229c80b34676527141b4d186 Mon Sep 17 00:00:00 2001 From: Anthony Rose Date: Fri, 17 Jan 2025 09:41:08 +0000 Subject: [PATCH] Support dash --- roles/home-gui/files/gnome-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/home-gui/files/gnome-setup.sh b/roles/home-gui/files/gnome-setup.sh index 6dc6db1..20dbaf9 100644 --- a/roles/home-gui/files/gnome-setup.sh +++ b/roles/home-gui/files/gnome-setup.sh @@ -14,7 +14,7 @@ set_favorites_bar () { gsettings set org.gnome.shell favorite-apps "$(cat "${XDG_CONFIG_HOME:-$HOME/.config}/favorite-apps.conf")" else _acp_terminal=org.gnome.Terminal.desktop - for dir in $(tr ':' '\n' <<< "$XDG_DATA_HOME:$XDG_DATA_DIRS") + for dir in $(echo "$XDG_DATA_HOME:$XDG_DATA_DIRS" | tr ':' '\n') do if test -r "$dir/applications/org.gnome.Ptyxis.desktop" then