mirror of
https://github.com/hermensbas/azerothcore_installer.git
synced 2026-01-31 08:13:46 +00:00
update
This commit is contained in:
@@ -3,7 +3,7 @@ ROOT_DIR="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
|
|||||||
source ${ROOT_DIR}/variables.sh
|
source ${ROOT_DIR}/variables.sh
|
||||||
|
|
||||||
|
|
||||||
read -p "This will DOWNLOAD and overwrite the current downloaded source code, are you sure? (Y)es/(N)o: " -n 1 -r
|
read -p "This will install the source code. Are you sure? (Y)es/(N)o: " -n 1 -r
|
||||||
echo " ";
|
echo " ";
|
||||||
if [[ $REPLY =~ ^[Yy]$ ]];
|
if [[ $REPLY =~ ^[Yy]$ ]];
|
||||||
then
|
then
|
||||||
@@ -3,7 +3,7 @@ ROOT_DIR="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
|
|||||||
source ${ROOT_DIR}/variables.sh
|
source ${ROOT_DIR}/variables.sh
|
||||||
|
|
||||||
|
|
||||||
read -p "This will UPDATE the current downloaded source code, are you sure? (Y)es/(N)o: " -n 1 -r
|
read -p "This will update the source code. Are you sure? (Y)es/(N)o: " -n 1 -r
|
||||||
echo " ";
|
echo " ";
|
||||||
if [[ $REPLY =~ ^[Yy]$ ]];
|
if [[ $REPLY =~ ^[Yy]$ ]];
|
||||||
then
|
then
|
||||||
@@ -3,7 +3,7 @@ ROOT_DIR="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
|
|||||||
source ${ROOT_DIR}/variables.sh
|
source ${ROOT_DIR}/variables.sh
|
||||||
|
|
||||||
|
|
||||||
read -p "This will (re)build the server with the downloaded resources, are you sure? (Y)es/(N)o: " -n 1 -r
|
read -p "This will build server. Are you sure? (Y)es/(N)o: " -n 1 -r
|
||||||
echo " ";
|
echo " ";
|
||||||
if [[ $REPLY =~ ^[Yy]$ ]];
|
if [[ $REPLY =~ ^[Yy]$ ]];
|
||||||
then
|
then
|
||||||
@@ -3,7 +3,7 @@ ROOT_DIR="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
|
|||||||
source ${ROOT_DIR}/variables.sh
|
source ${ROOT_DIR}/variables.sh
|
||||||
|
|
||||||
|
|
||||||
read -p "This will (re)compile server, are you sure? (Y)es/(N)o: " -n 1 -r
|
read -p "This will compile server. Are you sure? (Y)es/(N)o: " -n 1 -r
|
||||||
echo " ";
|
echo " ";
|
||||||
if [[ $REPLY =~ ^[Yy]$ ]];
|
if [[ $REPLY =~ ^[Yy]$ ]];
|
||||||
then
|
then
|
||||||
@@ -57,6 +57,7 @@ then
|
|||||||
##########################################################################################
|
##########################################################################################
|
||||||
sudo find ${ROOT_DIR}/_server/ -user root -exec sudo chown $USER: {} +
|
sudo find ${ROOT_DIR}/_server/ -user root -exec sudo chown $USER: {} +
|
||||||
|
|
||||||
|
|
||||||
echo "Executed..."
|
echo "Executed..."
|
||||||
|
|
||||||
fi
|
fi
|
||||||
@@ -3,7 +3,7 @@ ROOT_DIR="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
|
|||||||
source ${ROOT_DIR}/variables.sh
|
source ${ROOT_DIR}/variables.sh
|
||||||
|
|
||||||
|
|
||||||
read -p "This will initialize and apply the config, are you sure? (Y)es/(N)o: " -n 1 -r
|
read -p "This will configur the server, are you sure? (Y)es/(N)o: " -n 1 -r
|
||||||
echo " ";
|
echo " ";
|
||||||
if [[ $REPLY =~ ^[Yy]$ ]];
|
if [[ $REPLY =~ ^[Yy]$ ]];
|
||||||
then
|
then
|
||||||
Reference in New Issue
Block a user