Skip to content

Commit 042dee3

Browse files
committed
dosbox-staging / lr-hatari - cleanup module removal
dosbox-staging - fix removal comparison (should be $md_mode not $md_id) lr-hatari - skip iniSetting on removal
1 parent 5b9e221 commit 042dee3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

scriptmodules/emulators/dosbox-staging.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function install_dosbox-staging() {
7272
function configure_dosbox-staging() {
7373
configure_dosbox
7474

75-
[[ "$md_id" == "remove" ]] && return
75+
[[ "$md_mode" == "remove" ]] && return
7676

7777
local config_dir="$md_conf_root/pc"
7878
chown -R $user: "$config_dir"

scriptmodules/libretrocores/lr-hatari.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ function configure_lr-hatari() {
5353
addEmulator 1 "$md_id" "atarist" "$md_inst/hatari_libretro.so"
5454
addSystem "atarist"
5555

56+
[[ "$md_mode" == "remove" ]] && return
57+
5658
# add LD_LIBRARY_PATH='$md_inst' to start of launch command
5759
iniConfig " = " '"' "$configdir/atarist/emulators.cfg"
5860
iniGet "$md_id"

0 commit comments

Comments
 (0)