]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/deblistparser.cc
Moved strutl.h
[apt.git] / apt-pkg / deb / deblistparser.cc
index 0e5be12660189c0c2fdf531f7e63e235cb33adc7..4797694d0c4d4cf2ec18b28b87d070fe3c7f0e90 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.14 1999/01/27 02:48:53 jgg Exp $
 /* ######################################################################
    
    Package Cache Generator - Generator for the cache structure.
@@ -13,7 +13,7 @@
 #include <apt-pkg/deblistparser.h>
 #include <apt-pkg/error.h>
 #include <apt-pkg/configuration.h>
-#include <strutl.h>
+#include <apt-pkg/strutl.h>
 
 #include <system.h>
                                                                        /*}}}*/
@@ -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();
 }
                                                                        /*}}}*/