Skip to content

Commit ded0a28

Browse files
amiberry.sh - create conf when not exist and include rom_path value (#4009)
1 parent 84a4c76 commit ded0a28

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

scriptmodules/emulators/amiberry.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,13 @@ function configure_amiberry() {
131131
done
132132

133133
# set various media paths to the 'amiga' rom folder
134-
if [ -f "$md_inst/conf/amiberry.conf" ]; then
135-
iniConfig "=" "" "$md_inst/conf/amiberry.conf"
136-
iniSet "floppy_path" "$romdir/amiga"
137-
iniSet "harddrive_path" "$romdir/amiga"
138-
iniSet "cdrom_path" "$romdir/amiga"
139-
iniSet "lha_path" "$romdir/amiga"
140-
fi
134+
iniConfig "=" "" "$md_inst/conf/amiberry.conf"
135+
iniSet "rom_path" "$biosdir/amiga"
136+
iniSet "floppy_path" "$romdir/amiga"
137+
iniSet "harddrive_path" "$romdir/amiga"
138+
iniSet "cdrom_path" "$romdir/amiga"
139+
iniSet "lha_path" "$romdir/amiga"
140+
chown "$__user":"$__group" "$md_inst/conf/amiberry.conf"
141141

142142
# check for cd32.nvr and move it to $md_conf_root/amiga/amiberry/nvram
143143
if [[ -f "$md_conf_root/amiga/amiberry/cd32.nvr" ]]; then

0 commit comments

Comments
 (0)