diff options
Diffstat (limited to '')
-rwxr-xr-x | play.sh | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -268,10 +268,7 @@ done # internal functions {{{1 -_load () { # {{{2 - inherit -e default - source $GAME_PATH - +_prepare_funs () { # {{{2 local funs for phase in $PHASES; do @@ -281,6 +278,14 @@ _load () { # {{{2 done } + +_load () { # {{{2 + inherit -e default + source $GAME_PATH + + _prepare_funs +} + _list () { # {{{2 out "The installed games are:" # on -> sort alphabetically @@ -302,6 +307,7 @@ _new () { # {{{2 [[ -e $DGAME ]] && die "Game file already existing -- aborting!" inherit -e default wine + _prepare_funs setenv [[ ! -e $WINEPREFIX ]] && die "Specified prefix '$PREFIX' does not exist" |