From 89f1f78ec9f8291578551cc270e914982077977c Mon Sep 17 00:00:00 2001 From: Hu Ziming Date: Sat, 23 Jul 2016 21:14:36 +0800 Subject: [PATCH] Fix some typos and grammar mistakes. --- hyper-bootstrap-xen.sh | 28 ++++++++++++++-------------- hyper-bootstrap.sh | 30 +++++++++++++++--------------- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/hyper-bootstrap-xen.sh b/hyper-bootstrap-xen.sh index f49514d..d7cd8e1 100755 --- a/hyper-bootstrap-xen.sh +++ b/hyper-bootstrap-xen.sh @@ -33,16 +33,16 @@ WHITE=`tput setaf 7` LIGHT=`tput bold ` RESET=`tput sgr0` #Error Message -ERR_ROOT_PRIVILEGE_REQUIRED=(10 "This install script need root privilege, please retry use 'sudo' or root user!") -ERR_NOT_SUPPORT_PLATFORM=(20 "Sorry, Hyper only support x86_64 platform!") -ERR_NOT_SUPPORT_DISTRO=(21 "Sorry, Hyper only support ubuntu/debian/fedora/centos/linuxmint(17.x) now!") +ERR_ROOT_PRIVILEGE_REQUIRED=(10 "This install script needs root privilege, please retry use 'sudo' or root user!") +ERR_NOT_SUPPORT_PLATFORM=(20 "Sorry, Hyper only supports x86_64 platform!") +ERR_NOT_SUPPORT_DISTRO=(21 "Sorry, Hyper only supports ubuntu/debian/fedora/centos/linuxmint(17.x) now!") ERR_NOT_SUPPORT_DISTRO_VERSION=(22) ERR_NO_HYPERVISOR=(39 "You should have either Xen 4.5+ or Qemu 2.0+ installed to run hyper") ERR_QEMU_NOT_INSTALL=(40 "Please install Qemu 2.0+ first!") ERR_QEMU_LOW_VERSION=(41 "Need Qemu version 2.0 at least!") -ERR_XEN_NOT_INSTALL=(50 "Please install xen 4.5+ first!") -ERR_XEN_GET_VER_FAILED=(51 "Can not get xen version, xen daemon isn't running!") -ERR_XEN_VER_LOW=(52 "Sorry, hyper only support xen 4.5+") +ERR_XEN_NOT_INSTALL=(50 "Please install Xen 4.5+ first!") +ERR_XEN_GET_VER_FAILED=(51 "Can not get Xen version, Xen daemon isn't running!") +ERR_XEN_VER_LOW=(52 "Sorry, hyper only supports Xen 4.5+") ERR_FETCH_INST_PKG_FAILED=(60 "Fetch install package failed, please retry!") ERR_INST_PKG_MD5_ERROR=(61 "Checksum of install package error, please retry!") ERR_UNTAR_PKG_FAILED=(62 "Untar install package failed!") @@ -73,7 +73,7 @@ check_hyper_before_install() { if (command_exist hyper hyperd);then echo "${WHITE}" cat </dev/null 2>&1 if [ $? -eq 0 ];then - echo -e "\nStopping running hyperd service before install" + echo -e "\nStopping running hyperd service before installation" if [ "${INIT_SYSTEM}" == "systemd" ] then ${BASH_C} "systemctl stop hyperd" else ${BASH_C} "service hyperd stop"; @@ -381,7 +381,7 @@ COMMENT else show_message warn "\nhyperd isn't running." cat </dev/null 2>&1 if [[ $? -eq 0 ]];then - echo -e "\nStopping running hyperd service before install" + echo -e "\nStopping running hyperd service before installation" if [[ "${INIT_SYSTEM}" == "systemd" ]] then ${BASH_C} "systemctl stop hyperd" else ${BASH_C} "service hyperd stop"; @@ -392,7 +392,7 @@ COMMENT else show_message warn "\nhyperd isn't running." cat <