app-portage/repoman: pkg_postinst REPLACING_VERSIONS
authorZac Medico <zmedico@gentoo.org>
Sun, 5 Aug 2018 19:26:44 +0000 (12:26 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 5 Aug 2018 19:40:01 +0000 (12:40 -0700)
Package-Manager: Portage-2.3.44, Repoman-2.3.10

app-portage/repoman/repoman-2.3.10.ebuild
app-portage/repoman/repoman-2.3.9.ebuild
app-portage/repoman/repoman-9999.ebuild

index 24786452de2cf8901d92c61628796d64ca2054e2..e071382f3c3a5ac6d3b60a647025210e1c936a8a 100644 (file)
@@ -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
 }
index c96092fb4866c9ddd7f197db29a6d9f28b3255b5..c6113c7c5f0703197ae98320242625c958ef32d8 100644 (file)
@@ -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
 }
index a0770535b52cdf6802cf5bf8a69e8872c4bfef2c..8063252c048ec566cc54161a97fb4022bc8af30f 100644 (file)
@@ -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
 }