mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 03:11:28 +00:00
Fix linux installs [skip ci]
This commit is contained in:
parent
bf28354301
commit
90dc7a4e38
@ -196,13 +196,13 @@ sub new_server {
|
|||||||
}
|
}
|
||||||
closedir(DIR);
|
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";
|
print "[New Server] ERROR: You must run eqemu_server.pl in an empty directory\n";
|
||||||
<>;
|
<>;
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(-e "install_variables.txt"){
|
if(-e "install_variables.txt" || -e "../install_variables.txt"){
|
||||||
get_installation_variables();
|
get_installation_variables();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2153,4 +2153,4 @@ sub generate_random_password {
|
|||||||
map $alphanumeric[rand @alphanumeric], 0..$passwordsize;
|
map $alphanumeric[rand @alphanumeric], 0..$passwordsize;
|
||||||
|
|
||||||
return $randpassword;
|
return $randpassword;
|
||||||
}
|
}
|
||||||
@ -205,7 +205,7 @@ make
|
|||||||
|
|
||||||
#::: Back to server directory
|
#::: Back to server directory
|
||||||
cd $eqemu_server_directory/server
|
cd $eqemu_server_directory/server
|
||||||
wget https://dl.dropboxusercontent.com/u/50023467/dl/eqemu/eqemu_server.pl
|
wget https://raw.githubusercontent.com/EQEmu/Server/master/utils/scripts/eqemu_server.pl
|
||||||
|
|
||||||
#::: Link build files
|
#::: Link build files
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user