mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
fix rubygems.sh
This commit is contained in:
parent
a8426387fc
commit
79eef3d7d6
12
rubygems.sh
12
rubygems.sh
@ -18,14 +18,14 @@ echo "Syncing to $TUNASYNC_WORKING_DIR"
|
||||
cat > $CONF << EOF
|
||||
---
|
||||
- from: https://rubygems.org
|
||||
to: ${TUNASYNC_WORKING_DIR}
|
||||
parallelism: 10
|
||||
retries: 2
|
||||
delete: true
|
||||
skiperror: true
|
||||
to: ${TUNASYNC_WORKING_DIR}
|
||||
parallelism: 10
|
||||
retries: 2
|
||||
delete: true
|
||||
skiperror: true
|
||||
EOF
|
||||
|
||||
if [[ $INT == "0" ]]; then
|
||||
if [[ $INIT == "0" ]]; then
|
||||
if [[ $BUSYBOX == "0" ]]; then
|
||||
timeout -t 7200 -s INT $GEM mirror -V
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user