diff options
author | Xavier Chantry <shiningxc@gmail.com> | 2008-08-23 16:34:42 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-08-25 18:23:05 -0500 |
commit | d6f62ba22d5c6da484f4a7f0876b203ad545342a (patch) | |
tree | cd86d18043bbf03bdd26b1b1dad1fed3e8b666b7 /src/pacman/upgrade.c | |
parent | 24d7c6a372ee9e796b4112f6dbff5f188fc80d35 (diff) |
makepkg : allow to specify a download filename
A source entry can now have the following form, to specify a different
filename :
"filename::http://path/to/file"
Of course, the old syntax is still supported :
"http://path/to/file"
And as before, in the second case, the filename used is simply "file".
This fixes FS#11292, because handling multiple source files with the same
name is now possible (just choose a different filename).
But it will also allow to deal much more nicely with funny url like this by
using a sane filename (and unfortunately, there are quite a few) :
http://www.vim.org/scripts/download_script.php?src_id=6992
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/upgrade.c')
0 files changed, 0 insertions, 0 deletions