Skip to content
Permalink
Browse files

solaris / emulationstation / moonlight - use $md_mode instead of $mode

 * $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 cdcdac085bf695f46489371765d324f5dc2eda2c
@@ -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"
@@ -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
@@ -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"

0 comments on commit cdcdac0

Please sign in to comment.
You can’t perform that action at this time.