From 501693a19ccf8f4e9e2936a7c0fbedea99775f54 Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Thu, 29 Aug 2019 20:52:05 +0200 Subject: [PATCH] Remove disappeared torrent trackers --- _build/update_torrent.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_build/update_torrent.sh b/_build/update_torrent.sh index ed3349ed..d6808777 100755 --- a/_build/update_torrent.sh +++ b/_build/update_torrent.sh @@ -23,7 +23,7 @@ version='' for f in `find "$BINDIR" -maxdepth 1 ! -path "$BINDIR"`; do f=${f##*/} - + # Ignore directories that don't end with a version number. if [[ $f =~ [^0-9]$ ]]; then continue @@ -110,7 +110,7 @@ tmpdir=`mktemp -d` rsync -rt -f '- /*/' --delete "$BINDIR/$PREFIX$version/" "$tmpdir/$PREFIX$version/" # Build new torrent file. -buildtorrent -a "udp://tracker.openbittorrent.com:80/announce" -A "udp://tracker.openbittorrent.com:80/announce,udp://tracker.publicbt.com:80/announce,udp://tracker.ccc.de:80/announce,udp://tracker.coppersurfer.tk:6969,udp://open.demonii.com:1337" -w "https://bitcoin.org/bin/" -D -C "$tmpdir/$PREFIX$version" "$BINDIR/$PREFIX$version/bitcoin-$version.torrent" +buildtorrent -a "udp://tracker.openbittorrent.com:80/announce" -A "udp://tracker.openbittorrent.com:80/announce,udp://tracker.coppersurfer.tk:6969" -w "https://bitcoin.org/bin/" -D -C "$tmpdir/$PREFIX$version" "$BINDIR/$PREFIX$version/bitcoin-$version.torrent" # Update last combined hash and version. echo $currenthash > $DATADIR/lasthash