删除函数check_bash_installed

This commit is contained in:
Olia Lisa
2026-01-14 22:34:04 +08:00
parent de7d6a6b43
commit 4b4e15a7fc
2 changed files with 0 additions and 9 deletions
-7
View File
@@ -30,13 +30,6 @@ check_jq(){
install_package jq
}
# 检查 Bash 是否已安装
check_bash_installed() {
if ! command -v bash &> /dev/null; then
echo "错误: Bash 未安装!"
return 1
fi
}
# 动态安装软件包
install_package() {