From: Michał Górny Date: Mon, 16 Dec 2019 09:38:34 +0000 (+0100) Subject: media-gfx/iscan: Remove humongous relative symlink hack X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bafaf294160c9435ae474ba551e2e5744c0423e2;p=gentoo.git 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 --- diff --git a/media-gfx/iscan/iscan-2.30.4.2.ebuild b/media-gfx/iscan/iscan-2.30.4.2.ebuild index 90d8c1c878c2..4be72d181288 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