provide a bit more of path
authorStanislav Visnovsky <visnov@suse.cz>
Tue, 31 Jan 2006 14:52:05 +0000 (14:52 +0000)
committerStanislav Visnovsky <visnov@suse.cz>
Tue, 31 Jan 2006 14:52:05 +0000 (14:52 +0000)
zypp/source/susetags/PackagesParser.cc
zypp/source/susetags/SuseTagsImpl.cc

index eb4b5fd..0583600 100644 (file)
@@ -113,7 +113,7 @@ namespace zypp
             if ( howmany >= 2 )
             {
               pkgImpl->_media_number = str::strtonum<unsigned int>(words[0]);
-              pkgImpl->_location = Pathname(words[1]);
+              pkgImpl->_location = Pathname("/suse/" + nvrad.arch.asString() + "/" + words[1]);
             }
             else
             {
index 4f15cef..b589dd6 100644 (file)
@@ -67,6 +67,7 @@ namespace zypp
 
       void SuseTagsImpl::createResolvables(Source_Ref source_r)
       {
+#warning We use suse instead of <DATADIR> for now
         Pathname p = provideFile(_path + "suse/setup/descr/packages");
         DBG << "Going to parse " << p << endl;
         std::list<Package::Ptr> content( parsePackages( source_r, p ) );