Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/miscfiles/
Date: Mon, 20 Nov 2017 18:47:42
Message-Id: 1511203644.f320d9c3c25d62ba35e0bba81b6b97048af0a650.mrueg@gentoo
1 commit: f320d9c3c25d62ba35e0bba81b6b97048af0a650
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 20 18:47:24 2017 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 20 18:47:24 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f320d9c3
7
8 sys-apps/miscfiles: Add a few more die statements
9
10 Package-Manager: Portage-2.3.14, Repoman-2.3.6
11
12 sys-apps/miscfiles/miscfiles-1.5-r2.ebuild | 24 ++++++++++++------------
13 1 file changed, 12 insertions(+), 12 deletions(-)
14
15 diff --git a/sys-apps/miscfiles/miscfiles-1.5-r2.ebuild b/sys-apps/miscfiles/miscfiles-1.5-r2.ebuild
16 index ca1d83243fd..a20e20fe1a7 100644
17 --- a/sys-apps/miscfiles/miscfiles-1.5-r2.ebuild
18 +++ b/sys-apps/miscfiles/miscfiles-1.5-r2.ebuild
19 @@ -30,27 +30,27 @@ src_configure() {
20 }
21
22 src_install() {
23 - emake install DESTDIR="${D}" || die
24 + emake install DESTDIR="${D}"
25 dodoc NEWS ORIGIN README dict-README
26
27 # not sure if this is still needed ...
28 dodir /usr/share/dict
29 - cd "${ED%/}"/usr/share/misc
30 + cd "${ED%/}"/usr/share/misc || die
31 mv $(awk '$1=="dictfiles"{$1="";$2="";print}' "${S}"/Makefile) ../dict/ || die
32 - cd ../dict
33 + cd ../dict || die
34 ln -s web2 words || die
35 ln -s web2a extra.words || die
36
37 if use minimal ; then
38 - cd "${ED}"/usr/share/dict
39 - rm -f words extra.words
40 - gzip -9 *
41 - ln -s web2.gz words
42 - ln -s web2a.gz extra.words
43 - ln -s connectives{.gz,}
44 - ln -s propernames{.gz,}
45 - cd ..
46 - rm -r misc rfc
47 + pushd "${ED}"/usr/share/dict || die
48 + rm -f words extra.words || die
49 + gzip -9 * || die
50 + ln -s web2.gz words || die
51 + ln -s web2a.gz extra.words || die
52 + ln -s connectives{.gz,} || die
53 + ln -s propernames{.gz,} || die
54 + popd || die
55 + rm -r misc rfc || die
56 fi
57 }