1
0
镜像自地址 https://github.com/tuna/tunasync.git 已同步 2025-12-06 22:46:47 +00:00
文件
tunasync/scripts/android.sh
tuna-mirror-server 3776f11057 update android.sh
2015-09-02 22:43:06 +08:00

19 行
322 B
Bash
可执行文件

#!/bin/bash
function sync_android() {
cd $TUNASYNC_WORKING_DIR
/usr/local/bin/android-repo sync -f
}
function update_repo_config() {
for repo in $(find $TUNASYNC_WORKING_DIR -type d -not -path "*/.repo/*" -name "*.git")
do
cd $repo
echo $repo
git config pack.threads 1
done
}
sync_android
update_repo_config