diff options
author | Ulrich Müller <ulm@gentoo.org> | 2021-05-16 09:17:16 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2021-05-16 09:30:50 +0200 |
commit | c84fe1a9f1f351895a8069b8d92fae892150b08d (patch) | |
tree | 9a927e526e9e7261a7f22635122d3b3ca4ff84b3 /app-editors/emacs/emacs-28.0.9999.ebuild | |
parent | app-admin/exo: version bump to 1.29.0 - remove old. (diff) | |
download | gentoo-c84fe1a9f1f351895a8069b8d92fae892150b08d.tar.gz gentoo-c84fe1a9f1f351895a8069b8d92fae892150b08d.tar.bz2 gentoo-c84fe1a9f1f351895a8069b8d92fae892150b08d.zip |
app-editors/emacs: Add some die statements after rm commands
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-editors/emacs/emacs-28.0.9999.ebuild')
-rw-r--r-- | app-editors/emacs/emacs-28.0.9999.ebuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app-editors/emacs/emacs-28.0.9999.ebuild b/app-editors/emacs/emacs-28.0.9999.ebuild index 80e296098e70..d1f8dc79560f 100644 --- a/app-editors/emacs/emacs-28.0.9999.ebuild +++ b/app-editors/emacs/emacs-28.0.9999.ebuild @@ -308,16 +308,16 @@ src_install() { fi # avoid collision between slots, see bug #169033 e.g. - rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el - rm -rf "${ED}"/usr/share/{appdata,applications,icons} - rm -rf "${ED}/usr/$(get_libdir)" - rm -rf "${ED}"/var + rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el || die + rm -rf "${ED}"/usr/share/{appdata,applications,icons} || die + rm -rf "${ED}/usr/$(get_libdir)" || die + rm -rf "${ED}"/var || die # remove unused <version>/site-lisp dir - rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp + rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp || die # remove COPYING file (except for etc/COPYING used by describe-copying) - rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING + rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING || die if use systemd; then insinto /usr/lib/systemd/user @@ -370,7 +370,7 @@ src_install() { if use gui && use aqua; then dodir /Applications/Gentoo - rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app + rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die mv nextstep/Emacs.app \ "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die fi |