aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2009-02-03 22:30:13 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2009-02-03 22:30:13 +0000
commit74866f543c9af8297eee73c73ad18f160019934f (patch)
tree1d02dc22a67b21d785ed254853597aa18342bb73
parentce2996b5906b16297bf3725669066b082c47041b (diff)
downloadpaludis-74866f543c9af8297eee73c73ad18f160019934f.tar.gz
paludis-74866f543c9af8297eee73c73ad18f160019934f.tar.xz
Default pkg_info messages are silly
< dleverton> It means that if you want to write a pkg_info that might or might not display anything, you need to make sure to call the default if and only if it ends up not printing. < dleverton> And if it's in an exlib, any exheres that calls the exlib pkg_info as part of its own needs to only call it if it'll print something other than the default, otherwise you get the additional information from the exheres followed by "No additional information available"
-rw-r--r--paludis/repositories/e/ebuild/0/pkg_info.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/pkg_info.bash2
2 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/e/ebuild/0/pkg_info.bash b/paludis/repositories/e/ebuild/0/pkg_info.bash
index bd70768..2368a6e 100644
--- a/paludis/repositories/e/ebuild/0/pkg_info.bash
+++ b/paludis/repositories/e/ebuild/0/pkg_info.bash
@@ -18,7 +18,7 @@
pkg_info()
{
- echo "No additional information available"
+ :
}
ebuild_f_info()
diff --git a/paludis/repositories/e/ebuild/exheres-0/pkg_info.bash b/paludis/repositories/e/ebuild/exheres-0/pkg_info.bash
index 5f62426..5ff06be 100644
--- a/paludis/repositories/e/ebuild/exheres-0/pkg_info.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/pkg_info.bash
@@ -18,7 +18,7 @@
default_pkg_info()
{
- echo "No additional information available"
+ :
}
pkg_info()