From 7c435049ab34632f19cd849231e64645bff75cbb Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sat, 10 Jun 2017 19:43:37 +0200 Subject: [PATCH] kde5.eclass: Fix non-compression of docbooks PREFIX was never defined, making this a no-op. --- eclass/kde5.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 71839733485c..cbcbb27672c8 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -710,10 +710,10 @@ kde5_src_install() { cmake-utils_src_install - # We don't want ${PREFIX}/share/doc/HTML to be compressed, + # We don't want /usr/share/doc/HTML to be compressed, # because then khelpcenter can't find the docs - if [[ -d ${ED}/${PREFIX}/share/doc/HTML ]]; then - docompress -x ${PREFIX}/share/doc/HTML + if [[ -d ${ED%/}/usr/share/doc/HTML ]]; then + docompress -x /usr/share/doc/HTML fi } -- 2.26.2