浏览代码

appstore update

qiaofeng1227 2 年之前
父节点
当前提交
fc5b532757
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      install/update_appstore.sh

+ 1 - 1
install/update_appstore.sh

@@ -39,7 +39,7 @@ LibraryUpdate(){
 
 fastest=$(fastest_url "${urls[@]}")
 echo "fasturl is: "$fastest
-cd /tmp && rm -rf /tmp/stackhub-web && git clone $fasturl/Websoft9/stackhub-web
+cd /tmp && rm -rf /tmp/stackhub-web && git clone $fastest/Websoft9/stackhub-web
 rm -rf /usr/share/cockpit/appstore/static/data && cp -r /tmp/stackhub-web/plugins/appstore/build/static/data /usr/share/cockpit/appstore/static
 rm -rf /usr/share/cockpit/myapps/static/logos && cp -r /tmp/stackhub-web/plugins/myapps/build/static/logos /usr/share/cockpit/myapps/static