Skip to content

Commit

Permalink
modns: extload/modns-setup.sh: [enhancement] allow main home director…
Browse files Browse the repository at this point in the history
…y to be overridden
  • Loading branch information
thetaepsilon committed Sep 1, 2018
1 parent 798c6f7 commit 426e3c2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions modns/extload/modns-setup.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
if test -z "$MINETEST_HOME"; then {
export MINETEST_HOME="$HOME";
}; fi;

if test -z "$MINETEST_MOD_HOME"; then {
export MINETEST_MOD_HOME="$HOME/.minetest/mods";
export MINETEST_MOD_HOME="$MINETEST_HOME/.minetest/mods";
}; fi;
export MODNS_PATH="$MINETEST_MOD_HOME/devsupport-modpack/modns";
export OSDIRSEP="/";
export MODNS_LOADER_DATA="$HOME/.config/mt_modns_extdata";
export MODNS_LOADER_DATA="$MINETEST_HOME/.config/mt_modns_extdata";
export LUA_INIT="@$MODNS_PATH/extload/init.lua";

0 comments on commit 426e3c2

Please sign in to comment.