We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62f3ce7 commit e07b083Copy full SHA for e07b083
include/tomcat.sh
@@ -27,36 +27,8 @@ tomcat_uninstall(){
27
}
28
29
main(){
30
- clear
31
- echo -e "
32
- 1.${Font_color_suffix} 安装 Tomcat7
33
- 2.${Font_color_suffix} 安装 Tomcat8
34
- 3.${Font_color_suffix} 安装 Tomcat9
35
- 0.${Font_color_suffix} 退出脚本
36
- ——————————————————————————————————————" && echo
37
- read -p " 请输入选项 :" num
38
- case "$num" in
39
- 0)
40
- exit 1
41
- ;;
42
- 1)
43
- version=7.0.100
44
- tomcat
45
46
- 2)
47
- version=8.5.53
48
49
50
- 3)
51
- version=9.0.34
52
53
54
- *)
55
- echo -e "${Error}:请输入正确选项:"
56
- sleep 3s
57
- main
58
59
- esac
+ version=7.0.100
+ tomcat
60
61
62
main
0 commit comments