mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-21 04:42:46 +00:00
repo-ck script update
This commit is contained in:
parent
d6bd5bdb60
commit
aaa535df5f
@ -7,7 +7,8 @@ function sync_repo_ck() {
|
||||
[ ! -d "$repo_dir" ] && mkdir -p "$repo_dir"
|
||||
cd $repo_dir
|
||||
lftp "${repo_url}/" -e 'mirror -v -P 5 --delete --only-missing --only-newer --no-recursion; bye' || return 1
|
||||
wget "${repo_url}/repo-ck.db" -O "repo-ck.db"
|
||||
wget "${repo_url}/repo-ck.db" -O "repo-ck.db" || return 1
|
||||
wget "${repo_url}/repo-ck.files" -O "repo-ck.files"
|
||||
}
|
||||
|
||||
stat=0
|
||||
|
Loading…
x
Reference in New Issue
Block a user