2020-04-26 09:44:29

This commit is contained in:
monlor
2020-04-26 09:44:29 +08:00
parent 0887ef8564
commit 827362c678
10 changed files with 51 additions and 23 deletions

View File

@@ -69,7 +69,8 @@ get_applist() {
update_applist() {
wgetsh ${mbtmp}/applist_tmp.txt $mburl/applist.txt
if [ $? -eq 0 ]; then
# 判断applist的内容防止软件源异常
if [ $? -eq 0 ] && [ -n `cat ${mbtmp}/applist_tmp.txt | grep -E "^mixbox"` ]; then
rm -rf ${mbtmp}/applist.txt
cat ${mbtmp}/applist_tmp.txt | grep "${model}" | sort -u | while read line; do
local install_text=""