mirror of
https://github.com/hermensbas/azerothcore_installer.git
synced 2026-01-13 08:37:17 +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
|
||||
|
||||
|
||||
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 " ";
|
||||
if [[ $REPLY =~ ^[Yy]$ ]];
|
||||
then
|
||||
@@ -3,7 +3,7 @@ ROOT_DIR="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
|
||||
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 " ";
|
||||
if [[ $REPLY =~ ^[Yy]$ ]];
|
||||
then
|
||||
@@ -3,7 +3,7 @@ ROOT_DIR="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
|
||||
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 " ";
|
||||
if [[ $REPLY =~ ^[Yy]$ ]];
|
||||
then
|
||||
@@ -3,7 +3,7 @@ ROOT_DIR="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
|
||||
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 " ";
|
||||
if [[ $REPLY =~ ^[Yy]$ ]];
|
||||
then
|
||||
@@ -57,6 +57,7 @@ then
|
||||
##########################################################################################
|
||||
sudo find ${ROOT_DIR}/_server/ -user root -exec sudo chown $USER: {} +
|
||||
|
||||
|
||||
echo "Executed..."
|
||||
|
||||
fi
|
||||
@@ -3,7 +3,7 @@ ROOT_DIR="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
|
||||
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 " ";
|
||||
if [[ $REPLY =~ ^[Yy]$ ]];
|
||||
then
|
||||
Reference in New Issue
Block a user