X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/42c90c422da346dbc90b9edc110855df181310ee..0dbb95d810308d8dd102fba0303eed657f9f1cd2:/apt-pkg/deb/deblistparser.cc diff --git a/apt-pkg/deb/deblistparser.cc b/apt-pkg/deb/deblistparser.cc index 0e5be1266..585006451 100644 --- a/apt-pkg/deb/deblistparser.cc +++ b/apt-pkg/deb/deblistparser.cc @@ -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.12 1998/12/14 06:54:43 jgg Exp $ /* ###################################################################### Package Cache Generator - Generator for the cache structure. @@ -468,7 +468,12 @@ 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); - + + unsigned long Fl = 0; + if (Section.FindFlag("NotAutomatic",Fl,1) == false) + _error->Warning("Bad NotAutomatic flag"); + FileI->NotAutomatic = Fl; + return !_error->PendingError(); } /*}}}*/