summaryrefslogtreecommitdiff
path: root/apt-pkg/packagemanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/packagemanager.h')
-rw-r--r--apt-pkg/packagemanager.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/apt-pkg/packagemanager.h b/apt-pkg/packagemanager.h
index f95b2ab56..48f53576c 100644
--- a/apt-pkg/packagemanager.h
+++ b/apt-pkg/packagemanager.h
@@ -83,12 +83,7 @@ class pkgPackageManager : protected pkgCache::Namespace
pkgRecords *Recs);
// Do the installation
- OrderResult DoInstall() {
- if(DoInstallPreFork() == Failed)
- return Failed;
-
- return DoInstallPostFork();
- }
+ OrderResult DoInstall(int statusFd=-1);
// stuff that needs to be done before the fork() of a library that
// uses apt