Update eqemu_server.pl [skip ci] Testing self update

This commit is contained in:
Akkadius 2016-08-25 13:00:57 -05:00 committed by GitHub
parent 24856b6a2d
commit 75694e8797

View File

@ -298,6 +298,10 @@ sub do_self_update_check_routine {
print "[Install] Installing :: " . $destination_file . "\n"; print "[Install] Installing :: " . $destination_file . "\n";
unlink($destination_file); unlink($destination_file);
copy_file($file, $destination_file); copy_file($file, $destination_file);
if($OS eq "Linux"){
system("chmod 755 eqemu_server.pl");
system("chown eqemu eqemu_server.pl");
}
} }
} }
print "[Install] Done\n"; print "[Install] Done\n";