mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
change the log in linux.sh
This commit is contained in:
parent
448d59d1f1
commit
ed2d7e6c12
6
linux.sh
6
linux.sh
@ -7,14 +7,14 @@ function repo_init() {
|
||||
|
||||
function update_linux_git() {
|
||||
cd $TUNASYNC_WORKING_DIR
|
||||
echo "==== SYNC linux.git START ===="
|
||||
echo "==== SYNC $UPSTREAM START ===="
|
||||
/usr/bin/timeout -s INT 3600 git remote -v update
|
||||
git repack -a -b -d
|
||||
echo "==== SYNC linux.git DONE ===="
|
||||
echo "==== SYNC $UPSTREAM DONE ===="
|
||||
}
|
||||
|
||||
if [[ ! -f "$TUNASYNC_WORKING_DIR/HEAD" ]]; then
|
||||
echo "Initializing Linux.git mirror"
|
||||
echo "Initializing $UPSTREAM mirror"
|
||||
repo_init
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user