mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
miner changes
This commit is contained in:
parent
36bb82a57d
commit
0d90fc477e
2
mysql.sh
2
mysql.sh
@ -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
|
||||||
|
@ -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/"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user