From 79eef3d7d68202cb4ad55a2c2f0b37ab1371b07a Mon Sep 17 00:00:00 2001 From: bigeagle Date: Sun, 11 Dec 2016 17:20:14 +0800 Subject: [PATCH] fix rubygems.sh --- rubygems.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rubygems.sh b/rubygems.sh index 46dcab9..04a4edb 100755 --- a/rubygems.sh +++ b/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