change the log in linux.sh

This commit is contained in:
Yuxiang Zhang 2020-02-04 11:59:16 +08:00 committed by GitHub
parent 448d59d1f1
commit ed2d7e6c12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,14 +7,14 @@ function repo_init() {
function update_linux_git() { function update_linux_git() {
cd $TUNASYNC_WORKING_DIR cd $TUNASYNC_WORKING_DIR
echo "==== SYNC linux.git START ====" echo "==== SYNC $UPSTREAM START ===="
/usr/bin/timeout -s INT 3600 git remote -v update /usr/bin/timeout -s INT 3600 git remote -v update
git repack -a -b -d git repack -a -b -d
echo "==== SYNC linux.git DONE ====" echo "==== SYNC $UPSTREAM DONE ===="
} }
if [[ ! -f "$TUNASYNC_WORKING_DIR/HEAD" ]]; then if [[ ! -f "$TUNASYNC_WORKING_DIR/HEAD" ]]; then
echo "Initializing Linux.git mirror" echo "Initializing $UPSTREAM mirror"
repo_init repo_init
fi fi