From 957148e38f0064c5afe5f3efae5a3b5fb96a306c Mon Sep 17 00:00:00 2001 From: s1eve-mcdichae1 <92833764+s1eve-mcdichae1@users.noreply.github.com> Date: Fri, 20 Dec 2024 21:45:54 -0800 Subject: [PATCH] amiberry.sh - create conf when not exist and include rom_path value --- scriptmodules/emulators/amiberry.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scriptmodules/emulators/amiberry.sh b/scriptmodules/emulators/amiberry.sh index cbfb67a67a..5a8f4467b1 100644 --- a/scriptmodules/emulators/amiberry.sh +++ b/scriptmodules/emulators/amiberry.sh @@ -131,13 +131,13 @@ function configure_amiberry() { done # set various media paths to the 'amiga' rom folder - if [ -f "$md_inst/conf/amiberry.conf" ]; then - iniConfig "=" "" "$md_inst/conf/amiberry.conf" - iniSet "floppy_path" "$romdir/amiga" - iniSet "harddrive_path" "$romdir/amiga" - iniSet "cdrom_path" "$romdir/amiga" - iniSet "lha_path" "$romdir/amiga" - fi + iniConfig "=" "" "$md_inst/conf/amiberry.conf" + iniSet "rom_path" "$biosdir/amiga" + iniSet "floppy_path" "$romdir/amiga" + iniSet "harddrive_path" "$romdir/amiga" + iniSet "cdrom_path" "$romdir/amiga" + iniSet "lha_path" "$romdir/amiga" + chown "$__user":"$__group" "$md_inst/conf/amiberry.conf" # check for cd32.nvr and move it to $md_conf_root/amiga/amiberry/nvram if [[ -f "$md_conf_root/amiga/amiberry/cd32.nvr" ]]; then