diff options
Diffstat (limited to 'sys-apps/man-pages/man-pages-6.06.ebuild')
-rw-r--r-- | sys-apps/man-pages/man-pages-6.06.ebuild | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/sys-apps/man-pages/man-pages-6.06.ebuild b/sys-apps/man-pages/man-pages-6.06.ebuild index 1f1a2609c79c..c0cd7d383769 100644 --- a/sys-apps/man-pages/man-pages-6.06.ebuild +++ b/sys-apps/man-pages/man-pages-6.06.ebuild @@ -95,21 +95,16 @@ src_unpack() { fi if [[ ${PV} != *_rc* ]] && ! [[ ${MAN_PAGES_GENTOO_DIST} -eq 1 ]] && use verify-sig ; then - mkdir "${T}"/verify-sig || die - pushd "${T}"/verify-sig &>/dev/null || die - # Upstream sign the decompressed .tar - # Let's do it separately in ${T} then cleanup to avoid external - # effects on normal unpack. - cp "${DISTDIR}"/${P}.tar.xz . || die - xz -d ${P}.tar.xz || die - verify-sig_verify_detached ${P}.tar "${DISTDIR}"/${P}.tar.sign - - popd &>/dev/null || die - rm -r "${T}"/verify-sig || die - fi + einfo "Unpacking ${P}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/${P}.tar.sign \ + < <(xz -cd "${DISTDIR}"/${P}.tar.xz | tee >(tar -x)) + assert "Unpack failed" - default + unpack man-pages-gentoo-${GENTOO_PATCH}.tar.bz2 + else + default + fi } src_prepare() { |