From a70d2426ad1f7ef7380e4a3dcdae24277a7e650e Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Mon, 30 Jan 2023 16:16:53 -0500 Subject: [PATCH] Lutris sometimes mangles the yml; accommodate Sometimes the line gets split across two lines? Shorten our search --- lug-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lug-helper.sh b/lug-helper.sh index 788cfb6..f6dcaf8 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -1150,7 +1150,7 @@ post_download() { # Build an array of all Lutris Star Citizen yml files while IFS='' read -r line; do lutris_game_ymls+=("$line") - done < <(grep -Rl --include="*.yml" "Roberts Space Industries/RSI Launcher/RSI Launcher.exe" "$lutris_native_conf_dir" "$lutris_flatpak_conf_dir" 2>/dev/null) + done < <(grep -Rl --include="*.yml" "Roberts Space Industries" "$lutris_native_conf_dir" "$lutris_flatpak_conf_dir" 2>/dev/null) # We handle installs and deletions differently if [ "$download_action_success" = "installed" ]; then