This commit is contained in:
bash
2024-08-12 19:50:04 +00:00
parent 0f910bc421
commit 25129f6685
15 changed files with 0 additions and 0 deletions

26
script/merge_core.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/bash
##########################################################################################
# General dependencies
##########################################################################################
sudo apt update && sudo apt install -y git
read -p "Merge the orginal azerothcore code into the playerbot azerothcore, are you sure? (Y)es/(N)o: " -n 1 -r
echo " ";
if [[ $REPLY =~ ^[Yy]$ ]];
then
##########################################################################################
# Try to merge from the orginal azerothcore into the playerbot azerothcore fork branch
##########################################################################################
cd ${ROOT_DIR}/_download/azerothcore
git reset --hard origin/Playerbot
git fetch upstream
git merge upstream/master
echo " "
echo "###########################################################################################"
echo "## If (conflict) error just run update (2_update.sh) again to restore to the latest"
echo "## version of the playerbot branch"
echo "###########################################################################################"
fi