Christian Hesse
3b3152fc50
dload: avoid renaming files downloaded via sync operations
...
If the server redirects from ${repo}.db to ${repo}.db.tar.gz pacman gets
this wrong: It saves to new filename and fails when accessing
${repo}.db.
We need the remote filename only when downloading remote files with
pacman's -U operation. This introduces a new field 'trust_remote_name'
to payload. If set pacman downloads to the filename given by the server.
The field trust_remote_name is set in alpm_fetch_pkgurl().
Fixes FS#36791 ([pacman] downloads to wrong filename with redirect).
[dave: remove redundant assignment leading to memory leak]
Signed-off-by: Allan McRae <allan@archlinux.org>
2013-09-18 14:28:03 +10:00
..
2013-07-22 13:27:23 +10:00
2012-04-25 20:02:36 -04:00
2013-08-21 11:12:30 +10:00
2013-01-03 12:03:09 +10:00
2013-06-06 13:47:32 +10:00
2013-06-06 13:47:32 +10:00
2013-03-31 11:08:54 +10:00
2013-09-04 09:51:20 +10:00
2013-01-03 12:03:09 +10:00
2013-01-03 12:03:09 +10:00
2012-01-07 11:27:41 -06:00
2011-10-17 12:03:02 -05:00
2013-09-04 09:51:20 +10:00
2013-07-05 14:32:23 +10:00
2013-09-04 09:51:20 +10:00
2013-08-21 11:13:46 +10:00
2013-01-03 12:03:09 +10:00
2013-09-04 09:51:20 +10:00
2013-09-04 09:51:20 +10:00
2013-01-03 12:03:10 +10:00
2013-01-03 12:03:09 +10:00
2013-09-04 09:51:20 +10:00
2013-01-03 12:03:09 +10:00
2013-01-03 12:03:09 +10:00
2013-01-03 12:03:09 +10:00
2013-09-18 14:28:03 +10:00
2013-09-18 14:28:03 +10:00
2013-05-29 14:08:03 +10:00
2013-06-03 13:33:47 +10:00
2013-06-03 13:33:47 +10:00
2013-01-03 12:03:09 +10:00
2013-01-03 12:03:09 +10:00
2013-01-03 12:03:09 +10:00
2013-01-03 12:03:09 +10:00
2013-02-07 10:48:11 +10:00
2013-02-07 10:48:11 +10:00
2013-04-26 12:43:53 +10:00
2013-02-07 10:48:11 +10:00
2013-02-13 11:50:33 +10:00
2013-01-28 23:38:46 +10:00
2013-02-07 10:48:11 +10:00
2012-01-07 11:27:41 -06:00
2011-08-11 20:17:21 -05:00
2013-06-03 13:33:47 +10:00
2013-01-03 12:03:09 +10:00
2013-01-03 12:03:09 +10:00
2013-01-03 12:03:09 +10:00
2011-07-05 22:36:40 -05:00
2013-07-05 14:34:58 +10:00
2013-01-03 12:03:09 +10:00
2012-01-07 11:27:41 -06:00
2011-08-15 07:07:13 -05:00
2013-09-04 09:51:20 +10:00
2013-02-09 12:43:37 +10:00
2013-09-04 09:51:20 +10:00
2013-01-03 12:03:09 +10:00
2013-02-13 11:50:33 +10:00
2013-01-03 12:03:09 +10:00
2013-01-04 21:49:37 +10:00
2013-01-04 21:49:37 +10:00
2013-09-04 09:51:19 +10:00
2013-07-05 14:32:23 +10:00
2013-01-04 21:49:38 +10:00