diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-11-20 19:47:24 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-11-20 19:47:24 +0100 |
commit | f320d9c3c25d62ba35e0bba81b6b97048af0a650 (patch) | |
tree | a7f37e4ddb86f921f3d2109aa53ecf7bf5579ebf /sys-apps/miscfiles | |
parent | media-libs/mesa: Version bump to 17.3.0_rc5 (diff) | |
download | gentoo-f320d9c3c25d62ba35e0bba81b6b97048af0a650.tar.gz gentoo-f320d9c3c25d62ba35e0bba81b6b97048af0a650.tar.bz2 gentoo-f320d9c3c25d62ba35e0bba81b6b97048af0a650.zip |
sys-apps/miscfiles: Add a few more die statements
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'sys-apps/miscfiles')
-rw-r--r-- | sys-apps/miscfiles/miscfiles-1.5-r2.ebuild | 24 |
1 files changed, 12 insertions, 12 deletions
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 } |