Mailing List Archive

[PATCH v2 3/3] greadme.eclass: set UNPACKER_NO_BANNER
Signed-off-by: Florian Schmaus <flow@gentoo.org>
---
eclass/greadme.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/greadme.eclass b/eclass/greadme.eclass
index 25e0210406c1..ec01d090cc10 100644
--- a/eclass/greadme.eclass
+++ b/eclass/greadme.eclass
@@ -174,7 +174,7 @@ greadme_pkg_preinst() {
if [[ "${image_doc_file_basename}" == "${_GREADME_FILENAME}" ]]; then
cp "${image_doc_file}" . || die
else
- nonfatal unpacker "${image_doc_file}"
+ UNPACKER_NO_BANNER=1 nonfatal unpacker "${image_doc_file}"
if [[ $? -gt 0 ]]; then
# We failed to unpack the readme doc from the
# image, therefore, we can't show it (unless we
@@ -222,7 +222,7 @@ greadme_pkg_preinst() {
if [[ "${live_doc_file_basename}" == "${_GREADME_FILENAME}" ]]; then
cp "${live_doc_file}" .
else
- nonfatal unpacker "${live_doc_file}"
+ UNPACKER_NO_BANNER=1 nonfatal unpacker "${live_doc_file}"
if [[ $? -gt 0 ]]; then
# We failed to unpack the live readme doc, fallback
# to show the new readme contents.
--
2.41.0