mirror of
https://gitlab.com/2009scape/singleplayer/linux.git
synced 2026-08-01 14:39:15 -06:00
ncurses lib relocation
This commit is contained in:
parent
b7df3575fc
commit
13a752ecac
3 changed files with 1 additions and 3 deletions
BIN
database/lib/libncurses.so.5
Normal file
BIN
database/lib/libncurses.so.5
Normal file
Binary file not shown.
BIN
database/lib/libtinfo.so.5
Normal file
BIN
database/lib/libtinfo.so.5
Normal file
Binary file not shown.
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
#Prompt user with options on what to do
|
||||
export LD_LIBRARY_PATH=$(pwd)/data/libs
|
||||
export LD_LIBRARY_PATH=$(pwd)/database/lib
|
||||
echo "What would you like to do? (Type a number)"
|
||||
echo "1. Run the game."
|
||||
echo "2. Initialize the database. (Only has to be done once!)"
|
||||
|
|
@ -16,9 +16,7 @@ initDB() {
|
|||
fi
|
||||
bin/mysqld --console --skip-grant-tables --lc-messages-dir="./share/" --datadir="./data" &
|
||||
sleep 5
|
||||
echo | bin/mysql -u root -e "CREATE DATABASE server;"
|
||||
echo | bin/mysql -u root -e "CREATE DATABASE global;"
|
||||
echo | bin/mysql -u root server < ../data/server.sql
|
||||
echo | bin/mysql -u root global < ../data/global.sql
|
||||
sleep 10
|
||||
killall mysqld
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue