mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 09:31:30 +00:00
Fix linux installs when in new_server routine [skip ci]
This commit is contained in:
parent
90dc7a4e38
commit
4246e4f79b
@ -196,7 +196,7 @@ sub new_server {
|
|||||||
}
|
}
|
||||||
closedir(DIR);
|
closedir(DIR);
|
||||||
|
|
||||||
if($file_count > 1 && (!-e "install_variables.txt" || !-e "../install_variables.txt")){
|
if($file_count > 1 && (!-e "install_variables.txt" && !-e "../install_variables.txt")){
|
||||||
print "[New Server] ERROR: You must run eqemu_server.pl in an empty directory\n";
|
print "[New Server] ERROR: You must run eqemu_server.pl in an empty directory\n";
|
||||||
<>;
|
<>;
|
||||||
exit;
|
exit;
|
||||||
@ -243,7 +243,7 @@ sub new_server {
|
|||||||
|
|
||||||
if($mysql_pass == 1){
|
if($mysql_pass == 1){
|
||||||
|
|
||||||
if(!-e "install_variables.txt"){
|
if((!-e "install_variables.txt" && !-e "../install_variables.txt")){
|
||||||
print "[New Server] Success! We have a database connection\n";
|
print "[New Server] Success! We have a database connection\n";
|
||||||
|
|
||||||
check_for_input("Specify a NEW database name that PEQ will be installed to: ");
|
check_for_input("Specify a NEW database name that PEQ will be installed to: ");
|
||||||
@ -783,6 +783,7 @@ sub show_menu_prompt {
|
|||||||
|
|
||||||
#::: If we're processing a CLI command, kill the loop
|
#::: If we're processing a CLI command, kill the loop
|
||||||
if($ARGV[0] ne ""){
|
if($ARGV[0] ne ""){
|
||||||
|
analytics_insertion("cli", trim($input));
|
||||||
$input = "";
|
$input = "";
|
||||||
$ARGV[0] = "";
|
$ARGV[0] = "";
|
||||||
exit;
|
exit;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user