summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2020-10-24 18:49:19 +0300
committerAndreas K. Hüttel <dilfridge@gentoo.org>2020-10-24 18:49:36 +0300
commit8a99b86928262c43661eb6b461cbaf8f9ca93063 (patch)
tree5827a21cc5a92891dddd1d81e43eeba43df29df7 /sci-visualization/gr
parentnet-misc/jwhois: Port to EAPI 7 (diff)
downloadgentoo-8a99b86928262c43661eb6b461cbaf8f9ca93063.tar.gz
gentoo-8a99b86928262c43661eb6b461cbaf8f9ca93063.tar.bz2
gentoo-8a99b86928262c43661eb6b461cbaf8f9ca93063.zip
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>
Diffstat (limited to 'sci-visualization/gr')
-rw-r--r--sci-visualization/gr/gr-0.50.0-r2.ebuild (renamed from sci-visualization/gr/gr-0.50.0-r1.ebuild)2
1 files changed, 1 insertions, 1 deletions
diff --git a/sci-visualization/gr/gr-0.50.0-r1.ebuild b/sci-visualization/gr/gr-0.50.0-r2.ebuild
index 7a120d608f3..9d42c16208c 100644
--- a/sci-visualization/gr/gr-0.50.0-r1.ebuild
+++ b/sci-visualization/gr/gr-0.50.0-r2.ebuild
@@ -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."