diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-06-04 14:51:21 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-06-04 14:51:21 +0200 |
commit | ea4b220b1b17b270fc1a05e454439c32589548b7 (patch) | |
tree | 353c1c920aa6d48769871f09a97c6bccca6f2951 /cmdline/apt-extracttemplates.cc | |
parent | 2e5f4e45f593535e2c88181ff7a9e2d32a5e60f9 (diff) |
Switch away from the now deprecated methods for Cache building
Diffstat (limited to 'cmdline/apt-extracttemplates.cc')
-rw-r--r-- | cmdline/apt-extracttemplates.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmdline/apt-extracttemplates.cc b/cmdline/apt-extracttemplates.cc index 21ef1a050..07bc0c25d 100644 --- a/cmdline/apt-extracttemplates.cc +++ b/cmdline/apt-extracttemplates.cc @@ -296,8 +296,7 @@ bool Go(CommandLine &CmdL) MMap *Map = 0; pkgSourceList List; List.ReadMainList(); - OpProgress Prog; - pkgMakeStatusCache(List,Prog,&Map,true); + pkgCacheGenerator::MakeStatusCache(List,NULL,&Map,true); if (Map == 0) return false; DebFile::Cache = new pkgCache(Map); |