diff options
author | 2007-05-05 21:55:56 +0000 | |
---|---|---|
committer | 2007-05-05 21:55:56 +0000 | |
commit | 8d79fa1947d3913601168ce36a950543c9ac4fc0 (patch) | |
tree | f50347a4a8c970293730d548fb48557564533595 | |
parent | ea8c9dee1c3417736431e62b34ebd88cef19d3b7 (diff) | |
download | paludis-8d79fa1947d3913601168ce36a950543c9ac4fc0.tar.gz paludis-8d79fa1947d3913601168ce36a950543c9ac4fc0.tar.xz |
Run update_news on install_all_post and uninstall_all_post too.
-rw-r--r-- | paludis/repositories/gentoo/portage_repository.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/paludis/repositories/gentoo/portage_repository.cc b/paludis/repositories/gentoo/portage_repository.cc index a53fc034f..5d1300ced 100644 --- a/paludis/repositories/gentoo/portage_repository.cc +++ b/paludis/repositories/gentoo/portage_repository.cc @@ -1266,7 +1266,9 @@ PortageRepository::perform_hook(const Hook & hook) const Context context("When performing hook '" + stringify(hook.name()) + "' for repository '" + stringify(name()) + "':"); - if (hook.name() == "sync_all_post") + if (hook.name() == "sync_all_post" + || hook.name() == "install_all_post" + || hook.name() == "uninstall_all_post") update_news(); return 0; |