fix bug
This commit is contained in:
parent
eb9f894999
commit
1c44ffdb1b
@ -119,6 +119,10 @@ url_encode() {
|
|||||||
echo "$encoded"
|
echo "$encoded"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# 检查 Bash 是否已安装
|
||||||
|
check_bash_installed() {
|
||||||
|
if ! command -v bash &> /dev/null; then
|
||||||
|
echo "错误: Bash 未安装!"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user