commit: bafaf294160c9435ae474ba551e2e5744c0423e2
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 16 09:38:34 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec 16 09:39:38 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bafaf294
media-gfx/iscan: Remove humongous relative symlink hack
The gimp plugin directory path is predictable, we do not need to call
realpath for it.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
media-gfx/iscan/iscan-2.30.4.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/iscan/iscan-2.30.4.2.ebuild
b/media-gfx/iscan/iscan-2.30.4.2.ebuild
index 90d8c1c878c..4be72d18128 100644
--- a/media-gfx/iscan/iscan-2.30.4.2.ebuild
+++ b/media-gfx/iscan/iscan-2.30.4.2.ebuild
@@ -126,7 +126,7 @@ src_install() {
done
if [[ "/plug-ins" != "${gimpplugindir}" ]]; then
dodir ${gimpplugindir}
- dosym $(realpath -s --relative-to="${gimpplugindir}"
"${EPREFIX}/usr/bin/iscan" || die) "${gimpplugindir}"/iscan
+ dosym ../../../../bin/iscan "${gimpplugindir}"/iscan
else
ewarn "No idea where to find the gimp plugin directory"
fi