Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 568322 | Differences between
and this patch

Collapse All | Expand All

(-)mongodb-3.2.0.ebuild (+10 lines)
Lines 44-49 Link Here
44
S=${WORKDIR}/${MY_P}
44
S=${WORKDIR}/${MY_P}
45
45
46
pkg_setup() {
46
pkg_setup() {
47
	if [[ ${REPLACING_VERSIONS} < 3.0 ]]; then
48
		ewarn "!! ERROR !!"
49
                ewarn "You cannot directly upgrade a mongodb version 2.x"
50
                ewarn "deployment to ${PN}-${PV}. Instead, you must upgrade"
51
                ewarn "to a 3.0.x version first and then upgrade that to"
52
                ewarn "${PN}-${PV}. "
53
                ewarn " "
54
                ewarn "Terminating ebuild."
55
                die "Terminating ebuild."
56
        fi
47
	enewgroup mongodb
57
	enewgroup mongodb
48
	enewuser mongodb -1 -1 /var/lib/${PN} mongodb
58
	enewuser mongodb -1 -1 /var/lib/${PN} mongodb
49
59

Return to bug 568322