Preset descrdir/datadir in ContentFileReader.
authorMichael Andres <ma@suse.de>
Wed, 2 Dec 2009 13:19:09 +0000 (14:19 +0100)
committerMichael Andres <ma@suse.de>
Wed, 2 Dec 2009 13:19:09 +0000 (14:19 +0100)
zypp/parser/susetags/ContentFileReader.cc

index d5f6497..3985bdf 100644 (file)
@@ -120,6 +120,9 @@ namespace zypp
       void ContentFileReader::beginParse()
       {
        _pimpl.reset( new Impl(*this) );
+        // actually mandatory, but in case they were forgotten...
+        _pimpl->repoindex().descrdir = "suse/setup/descr";
+        _pimpl->repoindex().datadir = "suse";
       }
 
       ///////////////////////////////////////////////////////////////////