Navigation Menu

Skip to content

Commit

Permalink
solaris / emulationstation / moonlight - use $md_mode instead of $mode
Browse files Browse the repository at this point in the history
 * $mode works, as parent function uses the var, but it should be $md_mode
  • Loading branch information
joolswills committed Nov 17, 2019
1 parent 44690da commit cdcdac0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scriptmodules/ports/solarus.sh
Expand Up @@ -65,7 +65,7 @@ function configure_solarus() {
addEmulator 1 "$md_id" "solarus" "$md_inst/solarus.sh %ROM%"
addSystem "solarus"
moveConfigDir "$home/.solarus" "$configdir/solarus"
[[ "$mode" == "remove" ]] && return
[[ "$md_mode" == "remove" ]] && return

# ensure rom dir exists
mkRomDir "solarus"
Expand Down
2 changes: 1 addition & 1 deletion scriptmodules/supplementary/emulationstation.sh
Expand Up @@ -268,7 +268,7 @@ function configure_emulationstation() {
# move the $home/emulationstation configuration dir and symlink it
moveConfigDir "$home/.emulationstation" "$configdir/all/emulationstation"

[[ "$mode" == "remove" ]] && return
[[ "$md_mode" == "remove" ]] && return

# remove other emulation station if it's installed, so we don't end up with
# both packages interfering - but leave configs alone so switching is easy
Expand Down
2 changes: 1 addition & 1 deletion scriptmodules/supplementary/moonlight.sh
Expand Up @@ -102,7 +102,7 @@ function install_moonlight() {
function configure_moonlight() {
addEmulator 1 "$md_id" "steam" "$md_inst/moonlight.sh stream -config %ROM%"
addSystem "steam" "Steam Game Streaming" ".ml"
[[ "$mode" == "remove" ]] && return
[[ "$md_mode" == "remove" ]] && return

# ensure rom dir
mkRomDir "steam"
Expand Down

0 comments on commit cdcdac0

Please sign in to comment.