Azerothcore Updater
This is a script that will help with incremental updates, and adding/removing modules from your server
This script checks for updates to Azerothcore, or any of your specified modules If there's an update it'll perform a dirty build
If you remove or comment out module git links from your modules.list it will purge them from the azerothcore-wotlk/modules folder and trigger a build to remove said module
It's mostly currently penned to my install setup, but I plan on making it more extensible and configurable for people not familiar with shell scripts with a config file
This script does not perform initial installs, and assumes you have your environment already setup
Script was written and tested on Debian 12
Arguments
-h or --help
Prints a list of all of the arguments, outlined here
--reset-database
Nukes your databases, then re-adds them along with permissions for the acore@% account Then reimports the sql files using the dbimport utility from azerothcore
--setup-configs
Wipes out old configs, not super useful, going to clean up the logic here for the .dist configs
--clean-build
Forces a clean build by purging the build folder before the cmake and make process. Useful for when dirty builds are failing
--force-build
Forces the script to rebuild Azerothcore, mostly for in the event you have interrupted the build process or if you want to generate a full clean build where the script does not detect any updates