diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-06-10 19:43:37 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-06-11 13:43:55 +0200 |
commit | 7c435049ab34632f19cd849231e64645bff75cbb (patch) | |
tree | 4ff9c8597ba9540929dd4d480a8ef0deb2e1cc1c /eclass | |
parent | app-office/ledger: adapt and simplify deps for texlive 2017 (diff) | |
download | gentoo-7c435049ab34632f19cd849231e64645bff75cbb.tar.gz gentoo-7c435049ab34632f19cd849231e64645bff75cbb.tar.bz2 gentoo-7c435049ab34632f19cd849231e64645bff75cbb.zip |
kde5.eclass: Fix non-compression of docbooks
PREFIX was never defined, making this a no-op.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kde5.eclass | 6 |
1 files 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 } |