appstore update

This commit is contained in:
qiaofeng1227 2023-06-26 09:29:47 +08:00
parent f28483d10e
commit fc5b532757

View file

@ -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