mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-01-30 20:15:38 +00:00
Fix overwrite check
This commit is contained in:
parent
76fb748bbc
commit
9fa49ff904
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue