This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Update the bt-tracker= line in aria2.conf | |
| # Any bt-tracker= lines are removed and and a new one added at the bottom of the file | |
| # Updates at: https://gist.github.com/HaleTom/fe873dc2f3c5bd14f7418efefc2b91a8 | |
| # Inspiration: https://github.com/wuyuansushen/aria2c_TrackersList | |
| set -euo pipefail | |
| shopt -s failglob |