mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 18:51:29 +00:00
Self patching db_update script for when new versions come out
This commit is contained in:
parent
521106e286
commit
f0881d4aa9
@ -910,6 +910,19 @@ bool Database::CheckDatabaseConversions() {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Automatic Database Upgrade Script
|
||||||
|
Script: db_updater.pl V 1 - the number that world passes to the script will
|
||||||
|
force the script to check for a newer version to update itself with
|
||||||
|
db_updater.pl ran_from_world - won't bring up a menu if your database versions match
|
||||||
|
db_updater.pl - ran standalone will bring up a menu prompt
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Check for a new version of this script, the arg passed
|
||||||
|
would have to be higher than the copy they have downloaded
|
||||||
|
locally and they will re fetch */
|
||||||
|
system("perl db_update.pl V 1");
|
||||||
|
|
||||||
/* Run Automatic Database Upgrade Script */
|
/* Run Automatic Database Upgrade Script */
|
||||||
system("perl db_update.pl ran_from_world");
|
system("perl db_update.pl ran_from_world");
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user