Rearranged import to be last due to startup delay on MariaDB

This commit is contained in:
Marwolf
2018-07-13 20:55:11 -04:00
parent 467d1a34b7
commit dd525b83e0
3 changed files with 26 additions and 16 deletions

View File

@@ -161,17 +161,17 @@ if [ "$choice" == "1" ]; then
sudo make clone-game
echo ""
echo ""
echo "Importing the databases."
echo ""
sudo make import
echo ""
echo ""
echo "Creating the client cache in your home folder."
echo ""
mkdir ~/OpenRSC
unzip -o Game/client/cache.zip -d ~/OpenRSC
echo ""
echo ""
echo "Importing the databases."
echo ""
sudo make import
echo ""
echo ""
echo "Open RSC setup complete!"
echo ""
exit
@@ -210,17 +210,17 @@ elif [ "$choice" == "2" ]; then
sudo make clone-website
echo ""
echo ""
echo "Importing the databases."
echo ""
sudo make import
echo ""
echo ""
echo "Creating the client cache in your home folder."
echo ""
mkdir ~/OpenRSC
unzip -o Game/client/cache.zip -d ~/OpenRSC
echo ""
echo ""
echo "Importing the databases in 15 seconds."
echo ""
sudo make import
echo ""
echo ""
echo "Open RSC setup complete!"
echo ""
exit
@@ -268,6 +268,12 @@ elif [ "$choice" == "3" ]; then
unzip -o Website/Wiki/openrsc_wiki.sql.zip -d Website/Wiki
echo ""
echo ""
echo "Creating the client cache in your home folder."
echo ""
mkdir ~/OpenRSC
unzip -o Game/client/cache.zip -d ~/OpenRSC
echo ""
echo ""
echo "Importing the game, forum, and wiki databases."
echo ""
sudo make import
@@ -275,12 +281,6 @@ elif [ "$choice" == "3" ]; then
sudo make import-wiki
echo ""
echo ""
echo "Creating the client cache in your home folder."
echo ""
mkdir ~/OpenRSC
unzip -o Game/client/cache.zip -d ~/OpenRSC
echo ""
echo ""
echo "Open RSC setup complete!"
echo ""
exit