aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Fernando J. Pereda <ferdy@ferdyx.org> 2007-05-05 21:55:56 +0000
committerAvatar Fernando J. Pereda <ferdy@ferdyx.org> 2007-05-05 21:55:56 +0000
commit8d79fa1947d3913601168ce36a950543c9ac4fc0 (patch)
treef50347a4a8c970293730d548fb48557564533595
parentea8c9dee1c3417736431e62b34ebd88cef19d3b7 (diff)
downloadpaludis-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.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/paludis/repositories/gentoo/portage_repository.cc b/paludis/repositories/gentoo/portage_repository.cc
index a53fc03..5d1300c 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;