commit:     2fa32bf30ba7747bb8ca5fe7f4032aed8248af0e
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  5 19:26:44 2018 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Aug  5 19:40:01 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fa32bf3

app-portage/repoman: pkg_postinst REPLACING_VERSIONS

Package-Manager: Portage-2.3.44, Repoman-2.3.10

 app-portage/repoman/repoman-2.3.10.ebuild | 20 +++++++++++---------
 app-portage/repoman/repoman-2.3.9.ebuild  | 20 +++++++++++---------
 app-portage/repoman/repoman-9999.ebuild   | 20 +++++++++++---------
 3 files changed, 33 insertions(+), 27 deletions(-)

diff --git a/app-portage/repoman/repoman-2.3.10.ebuild 
b/app-portage/repoman/repoman-2.3.10.ebuild
index 24786452de2..e071382f3c3 100644
--- a/app-portage/repoman/repoman-2.3.10.ebuild
+++ b/app-portage/repoman/repoman-2.3.10.ebuild
@@ -49,13 +49,15 @@ python_install() {
 }
 
 pkg_postinst() {
-       elog ""
-       elog "This release of repoman is from the new portage/repoman split"
-       elog "release code base."
-       elog "This new repoman code base is still being developed.  So its 
API's"
-       elog "are not to be considered stable and are subject to change."
-       elog "The code released has been tested and considered ready for use."
-       elog "This however does not guarantee it to be completely bug free."
-       elog "Please report any bugs you may encounter."
-       elog ""
+       if [[ -z {REPLACING_VERSIONS} ]]; then
+               elog ""
+               elog "This release of repoman is from the new portage/repoman 
split"
+               elog "release code base."
+               elog "This new repoman code base is still being developed.  So 
its API's"
+               elog "are not to be considered stable and are subject to 
change."
+               elog "The code released has been tested and considered ready 
for use."
+               elog "This however does not guarantee it to be completely bug 
free."
+               elog "Please report any bugs you may encounter."
+               elog ""
+       fi
 }

diff --git a/app-portage/repoman/repoman-2.3.9.ebuild 
b/app-portage/repoman/repoman-2.3.9.ebuild
index c96092fb486..c6113c7c5f0 100644
--- a/app-portage/repoman/repoman-2.3.9.ebuild
+++ b/app-portage/repoman/repoman-2.3.9.ebuild
@@ -55,13 +55,15 @@ python_install() {
 }
 
 pkg_postinst() {
-       elog ""
-       elog "This release of repoman is from the new portage/repoman split"
-       elog "release code base."
-       elog "This new repoman code base is still being developed.  So its 
API's"
-       elog "are not to be considered stable and are subject to change."
-       elog "The code released has been tested and considered ready for use."
-       elog "This however does not guarantee it to be completely bug free."
-       elog "Please report any bugs you may encounter."
-       elog ""
+       if [[ -z {REPLACING_VERSIONS} ]]; then
+               elog ""
+               elog "This release of repoman is from the new portage/repoman 
split"
+               elog "release code base."
+               elog "This new repoman code base is still being developed.  So 
its API's"
+               elog "are not to be considered stable and are subject to 
change."
+               elog "The code released has been tested and considered ready 
for use."
+               elog "This however does not guarantee it to be completely bug 
free."
+               elog "Please report any bugs you may encounter."
+               elog ""
+       fi
 }

diff --git a/app-portage/repoman/repoman-9999.ebuild 
b/app-portage/repoman/repoman-9999.ebuild
index a0770535b52..8063252c048 100644
--- a/app-portage/repoman/repoman-9999.ebuild
+++ b/app-portage/repoman/repoman-9999.ebuild
@@ -49,13 +49,15 @@ python_install() {
 }
 
 pkg_postinst() {
-       elog ""
-       elog "This release of repoman is from the new portage/repoman split"
-       elog "release code base."
-       elog "This new repoman code base is still being developed.  So its 
API's"
-       elog "are not to be considered stable and are subject to change."
-       elog "The code released has been tested and considered ready for use."
-       elog "This however does not guarantee it to be completely bug free."
-       elog "Please report any bugs you may encounter."
-       elog ""
+       if [[ -z {REPLACING_VERSIONS} ]]; then
+               elog ""
+               elog "This release of repoman is from the new portage/repoman 
split"
+               elog "release code base."
+               elog "This new repoman code base is still being developed.  So 
its API's"
+               elog "are not to be considered stable and are subject to 
change."
+               elog "The code released has been tested and considered ready 
for use."
+               elog "This however does not guarantee it to be completely bug 
free."
+               elog "Please report any bugs you may encounter."
+               elog ""
+       fi
 }

Reply via email to