From 044e75660088d774da4dfff5f0d6351504e5d935 Mon Sep 17 00:00:00 2001 From: Maarten van Gompel Date: Sun, 11 Jul 2021 11:51:46 +0200 Subject: [PATCH] busybox grep has no --include, removed it Signed-off-by: Stacy Harper --- scripts/core/sxmo_open.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/core/sxmo_open.sh b/scripts/core/sxmo_open.sh index 3c8411c..a8e4484 100755 --- a/scripts/core/sxmo_open.sh +++ b/scripts/core/sxmo_open.sh @@ -39,7 +39,7 @@ mimeapps_to_desktop_mapping() { # This will generate the added mapping from all destkop entries in a dir get_mimeapps_entries_from_desktop_dir() { for desktop_path in "$1"/*.desktop; do - grep --include "*.desktop" '^MimeType=' "$desktop_path" \ + grep '^MimeType=' "$desktop_path" \ | tr ';' '\n' \ | cut -d= -f2 \ | xargs -I{} printf "%s=%s\n" "{}" "$(basename "$desktop_path")"