summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/portage-mgorny/portage-mgorny-9999.ebuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys-apps/portage-mgorny/portage-mgorny-9999.ebuild b/sys-apps/portage-mgorny/portage-mgorny-9999.ebuild
index 87caced0df10..49017fa930ba 100644
--- a/sys-apps/portage-mgorny/portage-mgorny-9999.ebuild
+++ b/sys-apps/portage-mgorny/portage-mgorny-9999.ebuild
@@ -54,6 +54,16 @@ PDEPEND="
)"
# NOTE: FEATURES=installsources requires debugedit and rsync
+pkg_pretend() {
+ if has_version sys-apps/portage; then
+ ewarn "If you are migrating from sys-apps/portage to sys-apps/portage-mgorny,"
+ ewarn "please note that Portage will abort upon having to unmerge itself."
+ ewarn "However, sys-apps/portage-mgorny will already be installed at this"
+ ewarn "point, so you simply have to restart emerge and it will successfully"
+ ewarn "clean the old package afterwards."
+ fi
+}
+
python_prepare_all() {
distutils-r1_python_prepare_all