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.0.10.ebuild (+14 lines)
Lines 41-43 Link Here
41
	dodir /usr/bin
41
	dodir /usr/bin
42
	dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn
42
	dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn
43
}
43
}
44
45
pkg_postinst() {
46
        if [[ ! -n $(readlink "${ROOT}"usr/bin/mvn) ]] ; then
47
                eselect maven set mvn-${SLOT}
48
        else
49
                einfo "${ROOT}usr/bin/mvn symbolic link already exists. Run 'eselect maven update <target>' if you want to update the symlink."
50
        fi
51
}
52
53
pkg_postrm() {
54
        eselect maven update
55
}
56
57

Return to bug 355507