From bafaf294160c9435ae474ba551e2e5744c0423e2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 16 Dec 2019 10:38:34 +0100 Subject: [PATCH] media-gfx/iscan: Remove humongous relative symlink hack MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The gimp plugin directory path is predictable, we do not need to call realpath for it. Signed-off-by: Michał Górny --- 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 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 -- 2.26.2