Don't include the source URI in the cached filename.
authorgraham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Fri, 8 Apr 2011 04:30:10 +0000 (04:30 +0000)
committergraham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Fri, 8 Apr 2011 04:30:10 +0000 (04:30 +0000)
commitd46db43e215d8f3b26e04c99f113db065040ef4c
treed51b2a44efa8072a2745734af41957dd9d2ab53e
parentcc24363fb731bf71f06d4d758df30216967efdb0
Don't include the source URI in the cached filename.

This avoids multiple downloads in the case where a repository is simply a
mirror of another. The old, uri mangled, filename is still checked to ensure
backwards compatibility with existing caches.

Patch from robert.melchers@gmail.com.

git-svn-id: http://opkg.googlecode.com/svn/trunk@617 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
libopkg/opkg_download.c