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

Collapse All | Expand All

(-)dev-java/maven-bin/maven-bin-3.0.ebuild (+13 lines)
Lines 47-49 Link Here
47
	echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
47
	echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
48
	doenvd "${T}/25${MAVEN}"
48
	doenvd "${T}/25${MAVEN}"
49
}
49
}
50
51
pkg_postinst() {
52
        if [[ ! -n $(readlink "${ROOT}"usr/bin/mvn) ]] ; then
53
                eselect maven set mvn-${SLOT}
54
        else
55
                einfo "${ROOT}usr/bin/mvn symbolic link already exists. Run 'eselect maven update <target>' if you want to update the symlink."
56
        fi
57
}
58
59
pkg_postrm() {
60
        eselect maven update
61
}
62

Return to bug 355507