diff options
author | Roman Kyrylych <roman@archlinux.org> | 2008-02-10 17:56:47 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-03-11 00:45:58 +0100 |
commit | f56f7ff39102dab754573b0bc40dbceb5a8ec301 (patch) | |
tree | 43aca0cead43ed2e72e0e1acdb8c1142ae17ebce /doc | |
parent | 91b7f288fe65b96d4af64f6308b0e33b14ad85e0 (diff) | |
download | pacman-f56f7ff39102dab754573b0bc40dbceb5a8ec301.tar.gz pacman-f56f7ff39102dab754573b0bc40dbceb5a8ec301.tar.xz |
makepkg: Support for resuming source downloads
Download to *.part and remove the suffix if successful, thus md5sums will be
checked only for complete files, and next time makepkg will resume
downloading of partial file instead of complaining about invalid md5sums.
Old DLAGENTS format is still supported.
Late fix: Do not try to download %u first
The output of grep was not suppressed, thus the output of get_downloadcmd
was wrong because of extra line at the beginning that contained an
unsubstituted (with %o and %u) entry from DLAGENTS.
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/makepkg.conf.5.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/makepkg.conf.5.txt b/doc/makepkg.conf.5.txt index f6e4b382..3f6d74c4 100644 --- a/doc/makepkg.conf.5.txt +++ b/doc/makepkg.conf.5.txt @@ -37,6 +37,9 @@ Options well; the download URL is placed on the end of the command. This is more flexible than the former `FTPAGENT` variable, as any protocol can have a download agent. Several examples are provided in the default makepkg.conf. + All instances of `%u` will be replaced with the download URL. If present, + instances of `%o` will be replaced with the local filename, plus a ``.part'' + extension, which allows to do file resumes properly. **CARCH=**"carch":: Specifies your computer architecture; possible values include such things |