Update install_pve6.sh

This commit is contained in:
spiritLHLS 2023-02-16 21:03:48 +08:00 committed by GitHub
parent 6a8624bf11
commit 8d8415cca7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ _red() { echo -e "\033[31m\033[01m$@\033[0m"; }
_green() { echo -e "\033[32m\033[01m$@\033[0m"; } _green() { echo -e "\033[32m\033[01m$@\033[0m"; }
_yellow() { echo -e "\033[33m\033[01m$@\033[0m"; } _yellow() { echo -e "\033[33m\033[01m$@\033[0m"; }
_blue() { echo -e "\033[36m\033[01m$@\033[0m"; } _blue() { echo -e "\033[36m\033[01m$@\033[0m"; }
reading(){ read -rp "$(green "$1")" "$2"; } reading(){ read -rp "$(_green "$1")" "$2"; }
# 前置环境安装 # 前置环境安装
if [ "$(id -u)" != "0" ]; then if [ "$(id -u)" != "0" ]; then