소스 검색

更新 'tools/dependencies-install.sh'

xdao 1 년 전
부모
커밋
d4052af198
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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
 }