Update prepare.sh

This commit is contained in:
wukongdaily
2023-09-22 23:04:59 +08:00
committed by GitHub
parent 3e17a855a9
commit 36af948975

View File

@@ -3,10 +3,10 @@
# 建议安装bash 满足更多的函数调用 # 建议安装bash 满足更多的函数调用
check_bash_installed() { check_bash_installed() {
if [ -x "/bin/bash" ]; then if [ -x "/bin/bash" ]; then
echo "downloading gl-inet.sh ......" echo "downloading prepare.sh ......"
else else
opkg update opkg update
opkg install bash opkg install bash
fi fi
} }
check_bash_installed check_bash_installed