Browse Source

Add a usage message.

master
poikilos 4 months ago
parent
commit
ea23a01056
  1. 4
      install-minetest-build-deps.sh

4
install-minetest-build-deps.sh

@ -44,6 +44,10 @@ echo "Current Options:"
echo "enable_postgres:$enable_postgres" echo "enable_postgres:$enable_postgres"
echo "enable_redis:$enable_redis" echo "enable_redis:$enable_redis"
echo "enable_leveldb:$enable_leveldb" echo "enable_leveldb:$enable_leveldb"
if [ "x$enable_postgres$enable_redis$enable_leveldb" = "xfalsefalsefalse" ]; then
echo "Usage:"
echo "$0 [redis] [postgres] [leveldb]"
fi
#if [ -f "`command -v minetest`" ]; then #if [ -f "`command -v minetest`" ]; then
#echo "* trying to remove any non-git (packaged) version first (Press Ctrl C to cancel)..." #echo "* trying to remove any non-git (packaged) version first (Press Ctrl C to cancel)..."
luajit_path="/usr/include/luajit-2.1" luajit_path="/usr/include/luajit-2.1"

Loading…
Cancel
Save