From 78c36dfb8039b0bb7add217dda4169ff88e8175e Mon Sep 17 00:00:00 2001 From: scuri Date: Thu, 10 Feb 2011 19:52:35 +0000 Subject: *** empty log message *** --- config_lua_module | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'config_lua_module') diff --git a/config_lua_module b/config_lua_module index 7b33f55..561e9e6 100644 --- a/config_lua_module +++ b/config_lua_module @@ -2,9 +2,10 @@ echo ' ' echo ' This script will configure the Tecgraf libraries in the system' -echo ' to be used from Lua. It was tested only in Ubuntu.' +echo ' to be used from Lua. It was tested only in Ubuntu and in Fedora.' echo ' ' -echo ' The Run Time libraries must be already installed on the system.' +echo ' The Run Time libraries must be already installed on the system (see the install script).' +echo ' It assumes that Lua binaries are installed using system packages.' echo ' ' echo ' Must be run with "sudo", or install will fail,' echo ' for example:' @@ -14,7 +15,11 @@ echo -n Press Enter to continue or Ctrl+C to abort... read contscr echo ' ' -SYSTEM_LIB=/usr/lib +if [ -d /usr/lib64 ]; then + SYSTEM_LIB=/usr/lib64 +else + SYSTEM_LIB=/usr/lib +fi LUA_LIB=$SYSTEM_LIB/lua/5.1 Make_Lua_Link() -- cgit v1.2.3