diff --git a/install-dat-release.sh b/install-dat-release.sh index b25b5cf..84e9f17 100644 --- a/install-dat-release.sh +++ b/install-dat-release.sh @@ -29,7 +29,7 @@ curl() { check_if_running_as_root() { # If you want to run as another user, please modify $UID to be owned by this user if [[ "$UID" -ne '0' ]]; then - echo "${red}warning: ${green}The user currently executing this script is not root. You may encounter the insufficient privilege error.${reset}" + echo "WARNING: The user currently executing this script is not root. You may encounter the insufficient privilege error." read -r -p "Are you sure you want to continue? [y/n] " cont_without_been_root if [[ x"${cont_without_been_root:0:1}" = x'y' ]]; then echo "Continuing the installation with current user..." diff --git a/install-release.sh b/install-release.sh index ac782ea..ebe8eec 100644 --- a/install-release.sh +++ b/install-release.sh @@ -47,7 +47,7 @@ systemd_cat_config() { check_if_running_as_root() { # If you want to run as another user, please modify $UID to be owned by this user if [[ "$UID" -ne '0' ]]; then - echo "${red}warning: ${green}The user currently executing this script is not root. You may encounter the insufficient privilege error.${reset}" + echo "WARNING: The user currently executing this script is not root. You may encounter the insufficient privilege error." read -r -p "Are you sure you want to continue? [y/n] " cont_without_been_root if [[ x"${cont_without_been_root:0:1}" = x'y' ]]; then echo "Continuing the installation with current user..."