]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/packagemanager.cc
merge with lp:~mvo/apt/debian-sid
[apt.git] / apt-pkg / packagemanager.cc
index c391a6036915e2f78b26591e46624465e0e23c24..cc9ce21c7fbbe1413f7ce54a33405ce984cc28a8 100644 (file)
@@ -26,7 +26,7 @@
 #include <apti18n.h>    
 #include <iostream>
 #include <fcntl.h> 
-
+                                                                       /*}}}*/
 using namespace std;
 
 // PM::PackageManager - Constructor                                    /*{{{*/
@@ -117,7 +117,6 @@ bool pkgPackageManager::FixMissing()
    return Resolve.ResolveByKeep() == true && Cache.BrokenCount() == 0;   
 }
                                                                        /*}}}*/
-
 // PM::ImmediateAdd - Add the immediate flag recursivly                        /*{{{*/
 // ---------------------------------------------------------------------
 /* This adds the immediate flag to the pkg and recursively to the
@@ -152,7 +151,6 @@ void pkgPackageManager::ImmediateAdd(PkgIterator I, bool UseInstallVer)
    return;
 }
                                                                        /*}}}*/
-
 // PM::CreateOrderList - Create the ordering class                     /*{{{*/
 // ---------------------------------------------------------------------
 /* This populates the ordering list with all the packages that are
@@ -666,10 +664,6 @@ pkgPackageManager::DoInstallPostFork(int statusFd)
       if(goResult == false) 
         return Failed;
 
-      // if all was fine update the state file
-      if(Res == Completed) {
-        Cache.writeStateFile(NULL);
-      }
       return Res;
 };