From c20bf59ed96e24a230dbd632e25a73267c5fa1e5 Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Tue, 24 Jan 2023 18:59:59 -0500 Subject: [PATCH] Sanity check --- lug-helper.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lug-helper.sh b/lug-helper.sh index 1a4c640..1590362 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -1145,6 +1145,8 @@ post_download() { for (( i=0; i<"${#deleted_item_names[@]}"; i++ )); do grep -RlZ --include="*.yml" "Roberts Space Industries/RSI Launcher/RSI Launcher.exe" "$lutris_native_conf_dir" "$lutris_flatpak_conf_dir" 2>/dev/null | xargs -0 sed -Ei "/^wine:/,/^[^[:blank:]]/ {/${post_download_sed_string}${deleted_item_names[i]}/d}" done + else + debug_print exit "Script error: Unknown download_action_success value in post_download function. Aborting." fi # Check if lutris needs to be restarted after making changes