mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-12-26 00:42:46 +00:00
fix the unit
This commit is contained in:
parent
31ee06590b
commit
964e22659a
|
|
@ -11,6 +11,7 @@ function update_repo_git() {
|
|||
/usr/bin/timeout -s INT 3600 git remote -v update
|
||||
git repack -a -b -d
|
||||
sz=$(git count-objects -v|grep -Po '(?<=size-pack: )\d+')
|
||||
sz=$(($sz*1024))
|
||||
echo "size-pack:" $(numfmt --to=iec $sz)
|
||||
echo "==== SYNC repo.git DONE ===="
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue