Fix bug in component name detection in prepare_component

This commit is contained in:
icenine451 2024-06-21 21:14:18 -04:00
parent b60c135f6d
commit 9e4e7874d0

View file

@ -853,7 +853,7 @@ prepare_component() {
sed -i 's#RETRODECKSAVESDIR#'$saves_folder'#g' "/var/config/gzdoom/gzdoom.ini" # This is an unfortunate one-off because set_setting_value does not currently support JSON
fi
if [[ $component_found="false" ]]; then
if [[ $component_found == "false" ]]; then
log e "Supplied component $component not found, not resetting"
fi