mirror of
https://github.com/the-sane/lug-helper.git
synced 2024-12-28 16:54:23 +00:00
Lutris sometimes mangles the yml; accommodate
Sometimes the line gets split across two lines? Shorten our search
This commit is contained in:
parent
e6d79125a6
commit
a70d2426ad
@ -1150,7 +1150,7 @@ post_download() {
|
|||||||
# Build an array of all Lutris Star Citizen yml files
|
# Build an array of all Lutris Star Citizen yml files
|
||||||
while IFS='' read -r line; do
|
while IFS='' read -r line; do
|
||||||
lutris_game_ymls+=("$line")
|
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
|
# We handle installs and deletions differently
|
||||||
if [ "$download_action_success" = "installed" ]; then
|
if [ "$download_action_success" = "installed" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user