mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-java/maven-bin: Install relative symlinks
Closes: https://bugs.gentoo.org/954392 Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me> Part-of: https://github.com/gentoo/gentoo/pull/41741 Closes: https://github.com/gentoo/gentoo/pull/41741 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
3dcd830d56
commit
47ae8a3407
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -47,8 +47,7 @@ src_install() {
|
||||
|
||||
dodoc NOTICE README.txt
|
||||
|
||||
dodir /usr/bin
|
||||
dosym "${MAVEN_SHARE}/bin/mvn" "${EPREFIX}/usr/bin/mvn-${SLOT}"
|
||||
dosym -r "${MAVEN_SHARE}/bin/mvn" "/usr/bin/mvn-${SLOT}"
|
||||
|
||||
# See bug #342901.
|
||||
echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -46,8 +46,7 @@ src_install() {
|
||||
|
||||
dodoc NOTICE README.txt
|
||||
|
||||
dodir /usr/bin
|
||||
dosym "${MAVEN_SHARE}/bin/mvn" "${EPREFIX}/usr/bin/mvn-${SLOT}"
|
||||
dosym -r "${MAVEN_SHARE}/bin/mvn" "/usr/bin/mvn-${SLOT}"
|
||||
|
||||
# See bug #342901.
|
||||
echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user