4 Star 65 Fork 0

柠檬冲水 / Bot-Help

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
install.sh 600 Bytes
一键复制 编辑 原始数据 按行查看 历史
柠檬冲水 提交于 2023-09-26 10:09 . 优化书写风格
#!/bin/bash
# 引入变量
source /bot-help/globals.sh
# 设置 bot-help
bash /bot-help/bin.sh
# 启动
release=""
# 检查系统
if [ -f /etc/redhat-release ]; then
release="centose"
else
if grep -q -E -i "debian" /etc/issue; then
release="debian"
elif grep -q -E -i "ubuntu" /etc/issue; then
release="ubuntu"
elif grep -q -E -i "centos|red hat|redhat" /etc/issue; then
release="centos"
fi
fi
case $release in
"centose" | "centos")
bash "$centosIndex"
;;
"ubuntu")
bash "$uentosIndex"
;;
"debian")
bash "$dentosIndex"
;;
esac
1
https://gitee.com/ningmengchongshui/bot-help.git
git@gitee.com:ningmengchongshui/bot-help.git
ningmengchongshui
bot-help
Bot-Help
main

搜索帮助