commit: f320d9c3c25d62ba35e0bba81b6b97048af0a650
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 20 18:47:24 2017 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Nov 20 18:47:24 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f320d9c3
sys-apps/miscfiles: Add a few more die statements
Package-Manager: Portage-2.3.14, Repoman-2.3.6
sys-apps/miscfiles/miscfiles-1.5-r2.ebuild | 24 ++++++++++++------------
1 file 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 ca1d83243fd..a20e20fe1a7 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
}