miner changes

This commit is contained in:
root 2017-12-08 05:52:53 +08:00
parent 36bb82a57d
commit 0d90fc477e
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ BASE_PATH="${TUNASYNC_WORKING_DIR}"
BASE_URL="${TUNASYNC_UPSTREAM_URL:-"https://repo.mysql.com"}" BASE_URL="${TUNASYNC_UPSTREAM_URL:-"https://repo.mysql.com"}"
MYSQL_DOWNLOAD_PATH="${BASE_PATH}/downloads/" MYSQL_DOWNLOAD_PATH="${BASE_PATH}/downloads/"
MYSQL_RSYNC_UPSTREAM="rsync://mysql.he.net/mysql/Downloads/" MYSQL_RSYNC_UPSTREAM="rsync://ftp5.gwdg.de/pub/linux/mysql/Downloads/"
RSYNC_OPTS="-aHvh --no-o --no-g --stats --exclude .~tmp~/ --delete --delete-after --delay-updates --safe-links --timeout=120 --contimeout=120" RSYNC_OPTS="-aHvh --no-o --no-g --stats --exclude .~tmp~/ --delete --delete-after --delay-updates --safe-links --timeout=120 --contimeout=120"
USE_IPV6=${USE_IPV6:-"0"} USE_IPV6=${USE_IPV6:-"0"}
if [[ $USE_IPV6 == "1" ]]; then if [[ $USE_IPV6 == "1" ]]; then

View File

@ -6,7 +6,7 @@ function sync_winehq() {
[ ! -d "$repo_dir" ] && mkdir -p "$repo_dir" [ ! -d "$repo_dir" ] && mkdir -p "$repo_dir"
cd $repo_dir cd $repo_dir
lftp "${repo_url}/" -e "mirror --verbose --exclude wine-builds.old/ -P 5 --delete --only-newer; bye" lftp "${repo_url}/" -e "mirror --verbose --exclude wine-builds.old/ -P 5 --delete; bye"
} }
BASE_URL=${TUNASYNC_UPSTREAM_URL:-"ftp://ftp.winehq.org/pub/"} BASE_URL=${TUNASYNC_UPSTREAM_URL:-"ftp://ftp.winehq.org/pub/"}