1 |
commit: 62127ec332cb7867bfb2c5d0ce416d9a029937ef |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 4 16:04:08 2019 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 4 16:04:08 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62127ec3 |
7 |
|
8 |
app-portage/portage-utils: add log msgs for 0.80_pre |
9 |
|
10 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.66, Repoman-2.3.11 |
12 |
|
13 |
.../portage-utils-0.80_pre20190530.ebuild | 18 ++++++++++++++++++ |
14 |
1 file changed, 18 insertions(+) |
15 |
|
16 |
diff --git a/app-portage/portage-utils/portage-utils-0.80_pre20190530.ebuild b/app-portage/portage-utils/portage-utils-0.80_pre20190530.ebuild |
17 |
index 5ff83758116..7ec6e18165b 100644 |
18 |
--- a/app-portage/portage-utils/portage-utils-0.80_pre20190530.ebuild |
19 |
+++ b/app-portage/portage-utils/portage-utils-0.80_pre20190530.ebuild |
20 |
@@ -50,3 +50,21 @@ src_configure() { |
21 |
$(use_enable qmanifest) \ |
22 |
$(use_enable openmp) |
23 |
} |
24 |
+ |
25 |
+pkg_postinst() { |
26 |
+ local pvr |
27 |
+ local doshow= |
28 |
+ for pvr in ${REPLACING_VERSIONS} ; do |
29 |
+ [[ ${pvr} != "0.8"[01]* ]] && doshow=true |
30 |
+ done |
31 |
+ |
32 |
+ if [[ ${doshow} == true ]] ; then |
33 |
+ elog "This is a pre-release of the next version of Portage Utils" |
34 |
+ elog "which has undergone significant changes. Please read the" |
35 |
+ elog "manpages for applets like qlop(1) where argument options have" |
36 |
+ elog "changed." |
37 |
+ elog "There will likely be changes to come before 0.80, and bugs are" |
38 |
+ elog "possible. Please report the latter, and request the former if" |
39 |
+ elog "applicable." |
40 |
+ fi |
41 |
+} |