diff options
Diffstat (limited to 'apt-private/private-install.h')
-rw-r--r-- | apt-private/private-install.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apt-private/private-install.h b/apt-private/private-install.h index 39a040e7d..52f055963 100644 --- a/apt-private/private-install.h +++ b/apt-private/private-install.h @@ -36,8 +36,10 @@ bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, std::vector<PseudoPkg bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, std::vector<PseudoPkg> &VolatileCmdL, CacheFile &Cache, int UpgradeMode); bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, CacheFile &Cache, int UpgradeMode); -APT_PUBLIC bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask = true, - bool Safety = true); +APT_PUBLIC bool InstallPackages(CacheFile &Cache, bool ShwKept, bool Ask = true, + bool Safety = true, + std::string const &Hook = "", + CommandLine const &CmdL = {}); bool CheckNothingBroken(CacheFile &Cache); bool DoAutomaticRemove(CacheFile &Cache); |