mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-08 01:42:26 +00:00
Add some things to future installer [skip ci]
This commit is contained in:
parent
0fa5b8d3f2
commit
6016ba5140
@ -111,6 +111,7 @@ if($ARGV[0] eq "installer"){
|
|||||||
print "Running EQEmu Server installer routines...\n";
|
print "Running EQEmu Server installer routines...\n";
|
||||||
mkdir('logs');
|
mkdir('logs');
|
||||||
mkdir('updates_staged');
|
mkdir('updates_staged');
|
||||||
|
mkdir('shared');
|
||||||
fetch_latest_windows_binaries();
|
fetch_latest_windows_binaries();
|
||||||
map_files_fetch_bulk();
|
map_files_fetch_bulk();
|
||||||
opcodes_fetch();
|
opcodes_fetch();
|
||||||
@ -121,7 +122,8 @@ if($ARGV[0] eq "installer"){
|
|||||||
|
|
||||||
#::: Database Routines
|
#::: Database Routines
|
||||||
print "MariaDB :: Creating Database 'peq'\n";
|
print "MariaDB :: Creating Database 'peq'\n";
|
||||||
print `"$path" --host $host --user $user --password="$pass" -N -B -e "DROP DATABASE peq;CREATE DATABASE peq"`;
|
print `"$path" --host $host --user $user --password="$pass" -N -B -e "DROP DATABASE IF EXISTS peq;"`;
|
||||||
|
print `"$path" --host $host --user $user --password="$pass" -N -B -e "CREATE DATABASE peq"`;
|
||||||
if($OS eq "Windows"){ @db_version = split(': ', `world db_version`); }
|
if($OS eq "Windows"){ @db_version = split(': ', `world db_version`); }
|
||||||
if($OS eq "Linux"){ @db_version = split(': ', `./world db_version`); }
|
if($OS eq "Linux"){ @db_version = split(': ', `./world db_version`); }
|
||||||
$bin_db_ver = trim($db_version[1]);
|
$bin_db_ver = trim($db_version[1]);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user