This commit is contained in:
Olia Lisa 2025-12-29 20:32:42 +08:00
parent eb9f894999
commit 1c44ffdb1b

View File

@ -119,6 +119,10 @@ url_encode() {
echo "$encoded"
}
# 检查 Bash 是否已安装
check_bash_installed() {
if ! command -v bash &> /dev/null; then
echo "错误: Bash 未安装!"
return 1
fi
}