Browse Source

更新 'tools/dependencies-install.sh'

xdao 1 year ago
parent
commit
d4052af198
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tools/dependencies-install.sh

+ 1 - 0
tools/dependencies-install.sh

@@ -43,6 +43,7 @@ install_openwrt_deps () {
         sed -i "s/src\/gz openwrt_freifunk/#/" "$FOLDER_NAME/repositories.conf"
         sed -i "s/src\/gz openwrt_luci/#/" "$FOLDER_NAME/repositories.conf"
         sed -i "s/src\/gz openwrt_telephony/#/" "$FOLDER_NAME/repositories.conf"
+        sed -i 's_https\?://downloads.openwrt.org_https://mirrors.cernet.edu.cn/openwrt_' "$FOLDER_NAME/repositories.conf"
     fi
 }