echo"* INFO: Installing ENLIVEN has been skipped. This script and the ENLIVEN build script require git for that. On Ubuntu or Debian, first try 'sudo apt-get -y install git' or if on Fedora, try 'sudo dnf -y install git'. Otherwise, try to find git in your \"Software\" or other software center application."
fi
else
echo"* ENLIVEN build scripts were detected in: $REPO_PATH"
echo" To update them, run: cd \"$REPO_PATH\" && git pull"
fi
fi
if[ -d "$REPO_PATH"];then
# If it didn't
installOrUpgradeENLIVEN "$INSTALL_PATH"
code=$?
if[$code -eq 2];then
echo" * skipped"
elif[$code -eq 0];then
echo" * Installing ENLIVEN to $INSTALL_PATH/games is complete."
else
echo"(installOrUpgradeMinetest failed with error code $code)"
fi
fi
}
installAmhiPatchIfPresent(){
aGameID=amhi_game
aMinetest="$INSTALL_PATH"
if[ -d "$aMinetest/games/amhi_game"];then
if[ -d "$REPO_PATH/patches/$aGameID"];then
echo"* patching $aGameID from $REPO_PATH/patches/$aGameID..."
@ -164,7 +221,11 @@ if [ "@$old_release_version" = "@$new_release_version" ]; then
echo
echo"* Adding the icon is complete. See the Desktop or applications (under Games usually--otherwise, search for Final Minetest in the Activities menu if in GNOME or GNOME-based Ubuntu versions 18.04 or later and you do not have a desktop icons extension enabled)."
echo
echo"Version $new_release_version is already installed at $INSTALL_PATH. There is nothing more to do."
installAmhiPatchIfPresent
findAndInstallENLIVENOrAskDL
echo
echo"Version $new_release_version is already installed at $INSTALL_PATH."