tunasync/scripts/android.sh
2015-05-19 20:15:07 +08:00

17 lines
287 B
Bash
Executable File

#!/bin/bash
function sync_android() {
cd $TUNASYNC_WORKING_DIR
/usr/local/bin/android-repo sync -f
}
function update_server_info() {
for repo in $(find $TUNASYNC_WORKING_DIR -type d -not -path "*/.repo/*" -name "*.git")
do
cd $repo
git update-server-info
done
}
sync_android