diff --git a/CentOS/7/all/centos-7-init-1.1.sh b/CentOS/7/all/centos-7-init-1.1.sh index dbf36d1..bde55c5 100644 --- a/CentOS/7/all/centos-7-init-1.1.sh +++ b/CentOS/7/all/centos-7-init-1.1.sh @@ -2,9 +2,8 @@ # curl -o init.sh https://git.zykeji.club/open/server-init/raw/master/CentOS/7/all/centos-7-init-1.1.sh && sh init.sh -read -p "是否安装Docker?(y/n)" isDocker -read -p "是否安装JDK8?(y/n)" isJDK8 - +read -r -p "是否安装Docker?(y/n)" isDocker +read -r -p "是否安装JDK8?(y/n)" isJDK8 echo "更改YUM为阿里源" mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak