From ce85b0c62c721b31557491a43f2bb1a081adb0e6 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Wed, 21 Feb 2018 14:29:19 -0500 Subject: [PATCH] prefer built version if present over packaged --- etc/game-install-ENLIVEN | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/game-install-ENLIVEN b/etc/game-install-ENLIVEN index 76aa1e4..6cd76b2 100755 --- a/etc/game-install-ENLIVEN +++ b/etc/game-install-ENLIVEN @@ -76,13 +76,13 @@ if [ -d "$try_path" ]; then # Arch linux USR_SHARE_MINETEST="$try_path" fi -if [ ! -d "$USR_SHARE_MINETEST" ]; then - # IF git version is installed and regular one is NOT: +#if [ ! -d "$USR_SHARE_MINETEST" ]; then + # IF git version is installed try_path="/usr/local/share/minetest" if [ -d "$try_path" ]; then USR_SHARE_MINETEST="$try_path" fi -fi +#fi # UNUSED (unknown use): MT_GAMES_DIR=$HOME/.minetest/mods # intentionally skip the slash in the following line since $USR_SHARE_MINETEST already starts with one: MT_BACKUP_GAMES_DIR=$HOME/Backup$USR_SHARE_MINETEST/games