mirror of
https://github.com/akatsukiro/lsky-pro-install-script.git
synced 2025-06-08 05:04:33 +08:00
feat: 全自动安装 提示部分
This commit is contained in:
parent
7b44f53f74
commit
d1b407a67e
14
install.sh
14
install.sh
@ -108,6 +108,20 @@ install_base() {
|
||||
install_base
|
||||
pre_check
|
||||
|
||||
echo -e "${yellow}是否进行全自动安装?${plain}"
|
||||
read -e -r -p "[Y/n]:" autoFlag
|
||||
case $autoFlag in
|
||||
[yY][eE][sS] | [yY])
|
||||
autoFlag="1"
|
||||
;;
|
||||
[nN][oO] | [nN])
|
||||
autoFlag="0"
|
||||
;;
|
||||
*)
|
||||
autoFlag="1"
|
||||
;;
|
||||
esac
|
||||
|
||||
install_php() {
|
||||
echo -e "${green}开始安装PHP${plain}"
|
||||
echo "默认安装php8.1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user