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

Return to bug 355507