]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/deblistparser.cc
Hide hit for local uris
[apt.git] / apt-pkg / deb / deblistparser.cc
index 0e5be12660189c0c2fdf531f7e63e235cb33adc7..669c5cd50e3cdb69fd5bff0126d85bb63504db13 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: deblistparser.cc,v 1.11 1998/12/14 02:23:47 jgg Exp $
+// $Id: deblistparser.cc,v 1.13 1998/12/14 08:07:29 jgg Exp $
 /* ######################################################################
    
    Package Cache Generator - Generator for the cache structure.
@@ -468,7 +468,11 @@ bool debListParser::LoadReleaseInfo(pkgCache::PkgFileIterator FileI,
       FileI->Label = WriteUniqString(Start,Stop - Start);
    if (Section.Find("Architecture",Start,Stop) == true)
       FileI->Architecture = WriteUniqString(Start,Stop - Start);
-
+   
+   if (Section.FindFlag("NotAutomatic",FileI->Flags,
+                       pkgCache::Flag::NotAutomatic) == false)
+      _error->Warning("Bad NotAutomatic flag");
+   
    return !_error->PendingError();
 }
                                                                        /*}}}*/