From 62a94b30cc8bc4ee89811e20967a7ed0987f42d8 Mon Sep 17 00:00:00 2001 From: bash Date: Mon, 29 Jul 2024 14:25:43 +0000 Subject: [PATCH] update --- 1_download.sh => 1_source-install.sh | 2 +- 2_update.sh => 2_source-update.sh | 2 +- 3_build.sh => 3_server-build.sh | 2 +- 4_compile.sh => 4_server-compile.sh | 3 ++- 5_config.sh => 5_server-configure.sh | 2 +- 6_start.sh => 6_server-start.sh | 0 6 files changed, 6 insertions(+), 5 deletions(-) rename 1_download.sh => 1_source-install.sh (96%) rename 2_update.sh => 2_source-update.sh (94%) rename 3_build.sh => 3_server-build.sh (92%) rename 4_compile.sh => 4_server-compile.sh (96%) rename 5_config.sh => 5_server-configure.sh (98%) rename 6_start.sh => 6_server-start.sh (100%) diff --git a/1_download.sh b/1_source-install.sh similarity index 96% rename from 1_download.sh rename to 1_source-install.sh index 7e32d8e..7d51cce 100755 --- a/1_download.sh +++ b/1_source-install.sh @@ -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 diff --git a/2_update.sh b/2_source-update.sh similarity index 94% rename from 2_update.sh rename to 2_source-update.sh index 0231c16..51aae2a 100755 --- a/2_update.sh +++ b/2_source-update.sh @@ -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 diff --git a/3_build.sh b/3_server-build.sh similarity index 92% rename from 3_build.sh rename to 3_server-build.sh index 2853fb4..1f0397a 100755 --- a/3_build.sh +++ b/3_server-build.sh @@ -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 diff --git a/4_compile.sh b/4_server-compile.sh similarity index 96% rename from 4_compile.sh rename to 4_server-compile.sh index 6071799..ee3f8d9 100755 --- a/4_compile.sh +++ b/4_server-compile.sh @@ -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 diff --git a/5_config.sh b/5_server-configure.sh similarity index 98% rename from 5_config.sh rename to 5_server-configure.sh index 2ccb390..ade046c 100755 --- a/5_config.sh +++ b/5_server-configure.sh @@ -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 diff --git a/6_start.sh b/6_server-start.sh similarity index 100% rename from 6_start.sh rename to 6_server-start.sh