diff options
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/xz-utils/xz-utils-5.4.2.ebuild | 5 | ||||
-rw-r--r-- | app-arch/xz-utils/xz-utils-9999.ebuild | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/app-arch/xz-utils/xz-utils-5.4.2.ebuild b/app-arch/xz-utils/xz-utils-5.4.2.ebuild index 9ab5ddb785d6..a6b8dfa60f8f 100644 --- a/app-arch/xz-utils/xz-utils-5.4.2.ebuild +++ b/app-arch/xz-utils/xz-utils-5.4.2.ebuild @@ -111,7 +111,10 @@ multilib_src_install() { multilib_src_install_all() { find "${ED}" -type f -name '*.la' -delete || die - rm "${ED}"/usr/share/doc/${PF}/COPYING* || die + + if use doc ; then + rm "${ED}"/usr/share/doc/${PF}/COPYING* || die + fi } pkg_preinst() { diff --git a/app-arch/xz-utils/xz-utils-9999.ebuild b/app-arch/xz-utils/xz-utils-9999.ebuild index 9ab5ddb785d6..a6b8dfa60f8f 100644 --- a/app-arch/xz-utils/xz-utils-9999.ebuild +++ b/app-arch/xz-utils/xz-utils-9999.ebuild @@ -111,7 +111,10 @@ multilib_src_install() { multilib_src_install_all() { find "${ED}" -type f -name '*.la' -delete || die - rm "${ED}"/usr/share/doc/${PF}/COPYING* || die + + if use doc ; then + rm "${ED}"/usr/share/doc/${PF}/COPYING* || die + fi } pkg_preinst() { |