summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-02-12 17:01:19 -0800
committerZac Medico <zmedico@gentoo.org>2017-02-12 17:06:39 -0800
commitbbc7b4b290bbbd1c3a67c101819b8b95ff959002 (patch)
tree7df1ec0fc68499c01571c7b16b513c1e2777c41c /sys-apps
parentapp-misc/screen: arm arm64 stable (bug 606366). (diff)
downloadgentoo-bbc7b4b290bbbd1c3a67c101819b8b95ff959002.tar.gz
gentoo-bbc7b4b290bbbd1c3a67c101819b8b95ff959002.tar.bz2
gentoo-bbc7b4b290bbbd1c3a67c101819b8b95ff959002.zip
sys-apps/portage: make sync-depth message conditional
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/portage/portage-2.3.3.ebuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/sys-apps/portage/portage-2.3.3.ebuild b/sys-apps/portage/portage-2.3.3.ebuild
index 20e8d629cde2..cb5403e12488 100644
--- a/sys-apps/portage/portage-2.3.3.ebuild
+++ b/sys-apps/portage/portage-2.3.3.ebuild
@@ -237,6 +237,12 @@ pkg_preinst() {
USERSYNC_UPGRADE=false
REPOS_CONF_UPGRADE=false
fi
+ if has_version ">=${CATEGORY}/${PN}-2.3.1" && \
+ has_version "<${CATEGORY}/${PN}-2.3.3"; then
+ SYNC_DEPTH_UPGRADE=true
+ else
+ SYNC_DEPTH_UPGRADE=false
+ fi
}
get_ownership() {
@@ -357,9 +363,11 @@ pkg_postinst() {
fi
fi
- ewarn "Please note that this release no longer respects sync-depth for"
- ewarn "git repositories. There have been too many problems and"
- ewarn "performance issues. See bugs 552814, 559008"
+ if ${SYNC_DEPTH_UPGRADE}; then
+ ewarn "Please note that this release no longer respects sync-depth for"
+ ewarn "git repositories. There have been too many problems and"
+ ewarn "performance issues. See bugs 552814, 559008"
+ fi
einfo ""
einfo "This release of portage NO LONGER contains the repoman code base."
einfo "Repoman has its own ebuild and release package."