File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
scriptmodules/supplementary Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ function _get_vars_bgm123() {
2727 [init]=" $md_inst /bgm_start.sh"
2828 [killscript]=" $md_inst /bgm_stop.sh"
2929 [fadescript]=" $md_inst /bgm_fade.sh"
30+ [share]=" $datadir /bgm"
3031 )
3132
3233 local var
@@ -64,9 +65,6 @@ function install_bin_bgm123() {
6465function configure_bgm123() {
6566 $( _get_vars_bgm123)
6667
67- local share=" $datadir /bgm"
68- local file
69-
7068 # find gamelist
7169 local gamelist=" $menudir /gamelist.xml"
7270 [[ -f " $gamelist " ]] || gamelist=" $configdir /all/emulationstation/gamelists/retropie/gamelist.xml"
@@ -85,6 +83,7 @@ function configure_bgm123() {
8583 fi
8684
8785 # preserve original file versions
86+ local file
8887 for file in " $autostart " " $bashrc " " $onstart " " $onend " ; do
8988 if [[ -f " $file " && ! -f " $file .old.$md_id " ]]; then
9089 cp -v " $file " " $file .old.$md_id "
You can’t perform that action at this time.
0 commit comments