#include <apt-pkg/policy.h>
#include <apt-pkg/pkgsystem.h>
#include <apt-pkg/acquire-item.h>
+#include <apt-pkg/fileutl.h>
#include <apti18n.h>
/*}}}*/
if (List.GetIndexes(&Fetcher) == false)
return false;
+ // Run scripts
+ RunScripts("APT::Update::Pre-Invoke");
+
// Run it
if (Fetcher.Run() == pkgAcquire::Failed)
return false;
return false;
}
+ // Run the scripts
+ RunScripts("APT::Update::Post-Invoke");
return (Failed == false);
}