mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-21 04:42:46 +00:00
update android.sh
This commit is contained in:
parent
1c2d8a9d3e
commit
3776f11057
@ -5,12 +5,14 @@ function sync_android() {
|
||||
/usr/local/bin/android-repo sync -f
|
||||
}
|
||||
|
||||
function update_server_info() {
|
||||
function update_repo_config() {
|
||||
for repo in $(find $TUNASYNC_WORKING_DIR -type d -not -path "*/.repo/*" -name "*.git")
|
||||
do
|
||||
cd $repo
|
||||
git update-server-info
|
||||
echo $repo
|
||||
git config pack.threads 1
|
||||
done
|
||||
}
|
||||
|
||||
sync_android
|
||||
update_repo_config
|
||||
|
Loading…
x
Reference in New Issue
Block a user