pass the medium Id to provideFile() call
authorStanislav Visnovsky <visnov@suse.cz>
Fri, 10 Feb 2006 13:08:45 +0000 (13:08 +0000)
committerStanislav Visnovsky <visnov@suse.cz>
Fri, 10 Feb 2006 13:08:45 +0000 (13:08 +0000)
zypp/Package.cc

index 7f6106d..c6b66d1 100644 (file)
@@ -139,7 +139,7 @@ namespace zypp
 
   /** */
   Pathname Package::getPlainRpm() const
-  { return source().provideFile(plainRpm()); }
+  { return source().provideFile(plainRpm(), mediaId()); }
 
   /** */
   Pathname Package::getDeltaRpm(BaseVersion & base_r) const