mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-30 13:47:57 +00:00
Fix linux installs [skip ci]
This commit is contained in:
@@ -196,13 +196,13 @@ sub new_server {
|
||||
}
|
||||
closedir(DIR);
|
||||
|
||||
if($file_count > 1 && !-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";
|
||||
<>;
|
||||
exit;
|
||||
}
|
||||
|
||||
if(-e "install_variables.txt"){
|
||||
if(-e "install_variables.txt" || -e "../install_variables.txt"){
|
||||
get_installation_variables();
|
||||
}
|
||||
|
||||
@@ -2153,4 +2153,4 @@ sub generate_random_password {
|
||||
map $alphanumeric[rand @alphanumeric], 0..$passwordsize;
|
||||
|
||||
return $randpassword;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user