mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
sci-visualization/gr: Only create symlink if target exists
Closes: https://bugs.gentoo.org/750056 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
@@ -68,7 +68,7 @@ src_install() {
|
||||
echo "LDPATH=/usr/gr/$(get_libdir)" >> "${T}/99gr"
|
||||
doenvd "${T}/99gr"
|
||||
|
||||
dosym ../gr/bin/gksqt /usr/bin/gksqt
|
||||
[[ -f "${ED}/usr/gr/bin/gksqt" ]] && dosym ../gr/bin/gksqt /usr/bin/gksqt
|
||||
|
||||
elog "${P} relies on the environment variable GRDIR. If you want to use it in a running shell,"
|
||||
elog "e.g. with dev-lang/julia, then run \"source /etc/profile\" first."
|
||||
Reference in New Issue
Block a user