From: Manuel RĂ¼ger Date: Mon, 20 Nov 2017 18:47:24 +0000 (+0100) Subject: sys-apps/miscfiles: Add a few more die statements X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f320d9c3c25d62ba35e0bba81b6b97048af0a650;p=gentoo.git sys-apps/miscfiles: Add a few more die statements Package-Manager: Portage-2.3.14, Repoman-2.3.6 --- diff --git a/sys-apps/miscfiles/miscfiles-1.5-r2.ebuild b/sys-apps/miscfiles/miscfiles-1.5-r2.ebuild index ca1d83243fdc..a20e20fe1a77 100644 --- a/sys-apps/miscfiles/miscfiles-1.5-r2.ebuild +++ b/sys-apps/miscfiles/miscfiles-1.5-r2.ebuild @@ -30,27 +30,27 @@ src_configure() { } src_install() { - emake install DESTDIR="${D}" || die + emake install DESTDIR="${D}" dodoc NEWS ORIGIN README dict-README # not sure if this is still needed ... dodir /usr/share/dict - cd "${ED%/}"/usr/share/misc + cd "${ED%/}"/usr/share/misc || die mv $(awk '$1=="dictfiles"{$1="";$2="";print}' "${S}"/Makefile) ../dict/ || die - cd ../dict + cd ../dict || die ln -s web2 words || die ln -s web2a extra.words || die if use minimal ; then - cd "${ED}"/usr/share/dict - rm -f words extra.words - gzip -9 * - ln -s web2.gz words - ln -s web2a.gz extra.words - ln -s connectives{.gz,} - ln -s propernames{.gz,} - cd .. - rm -r misc rfc + pushd "${ED}"/usr/share/dict || die + rm -f words extra.words || die + gzip -9 * || die + ln -s web2.gz words || die + ln -s web2a.gz extra.words || die + ln -s connectives{.gz,} || die + ln -s propernames{.gz,} || die + popd || die + rm -r misc rfc || die fi }