Only remove Godot temp file if it exists, cut down on errors

This commit is contained in:
icenine451 2024-05-30 10:59:47 -04:00
parent 6d2eb27c87
commit 2374d6e7fe

View file

@ -5,7 +5,9 @@ check_bios_files() {
# There is a "basic" and "expert" mode which outputs different levels of data
# USAGE: check_bios_files "mode"
if [[ -f "$godot_bios_files_checked" ]]; then
rm -f "$godot_bios_files_checked" # Godot data transfer temp files
fi
touch "$godot_bios_files_checked"
while IFS="^" read -r bios_file bios_subdir bios_hash bios_system bios_desc