Bug #544
Make pacman2pacman re-write the webseeds in the torrent to use the user's default mirror
Status:
fixed
Priority:
feature
Assignee:
-
% Done:
0%
Description
This should make it faster because it can download from the user's chosen mirror, which may be closer or faster.
Here is an example that I just tried. It replaces ALL of the webseeds in the torrent with just one, specific one. Where is sais `url-listl82:' the 82 is the length of the webseed string.
sed 's#url-listl.\+.pkg.tar.xz#url-listl82:https://parabola.goodgnus.com.ar/pool/packages/zziplib-0.13.62-2-x86_64.pkg.tar.xz#' < zziplib-0.13.62-2-x86_64.pkg.tar.xz.torrent > zziplib-0.13.62-2-x86_64.pkg.tar.xz.torrent.modified