mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-15 01:42:24 +00:00
2020-04-26 09:44:29
This commit is contained in:
@@ -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=""
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
export PATH=$PATH:/etc/mixbox/bin
|
||||
|
||||
mburl_coding="https://monlor.coding.net/p/mbfiles/d/mbfiles/git/raw/master"
|
||||
mburl_github="https://raw.githubusercontent.com/monlor/MIXBOX/master"
|
||||
mburl_github="https://raw.githubusercontent.com/monlor/mbfiles/master"
|
||||
# mburl_test="https://monlor.coding.net/p/mbfiles/d/mbfiles/git/raw/test"
|
||||
mburl=$(mbdb get mixbox.main.url) || mburl="$mburl_coding"
|
||||
mbroot=$(mbdb get mixbox.main.path)
|
||||
|
||||
Reference in New Issue
Block a user