Fix overwrite check

This commit is contained in:
icenine451 2022-10-14 10:43:11 -04:00
parent 76fb748bbc
commit 9fa49ff904

View file

@ -206,7 +206,7 @@ ra_init() {
mkdir -pv /var/config/retroarch/cores/
cp /app/share/libretro/cores/* /var/config/retroarch/cores/
cp -fv $emuconfigs/retroarch.cfg /var/config/retroarch/
if [[ overwrite_configs ]]; then
if [ $overwrite_configs = true ]; then
cp -fv $emuconfigs/retroarch-core-options.cfg /var/config/retroarch/
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/retroarch/retroarch.cfg
fi