File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -49,14 +49,16 @@ function configure_pifba() {
49
49
mkRomDir " fba"
50
50
mkRomDir " neogeo"
51
51
52
- mkUserDir " $md_conf_root /fba"
52
+ if [[ " $md_mode " == " install" ]]; then
53
+ mkUserDir " $md_conf_root /fba"
53
54
54
- local config
55
- for config in fba2x.cfg capex.cfg; do
56
- # move old config if it exists
57
- moveConfigFile " $md_inst /$config " " $md_conf_root /fba/$config "
58
- copyDefaultConfig " $config .template" " $md_conf_root /fba/$config "
59
- done
55
+ local config
56
+ for config in fba2x.cfg capex.cfg; do
57
+ # move old config if it exists
58
+ moveConfigFile " $md_inst /$config " " $md_conf_root /fba/$config "
59
+ copyDefaultConfig " $config .template" " $md_conf_root /fba/$config "
60
+ done
61
+ fi
60
62
61
63
local def=0
62
64
isPlatform " rpi1" && def=1
You can’t perform that action at this time.
0 commit comments