public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libgpod/
Date: Sat, 27 Apr 2024 21:49:42 +0000 (UTC)	[thread overview]
Message-ID: <1714254559.e694c331b21c9dfe8a856aca7fbc1ccf9db9b0a4.chewi@gentoo> (raw)

commit:     e694c331b21c9dfe8a856aca7fbc1ccf9db9b0a4
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 27 21:45:16 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Apr 27 21:49:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e694c331

media-libs/libgpod: Fix removal of empty /tmp directory

It's not clear why this failed in the bug report, but let's check whether
${ED}/tmp exists before removing it.

Closes: https://bugs.gentoo.org/900927
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 media-libs/libgpod/libgpod-0.8.3-r7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libgpod/libgpod-0.8.3-r7.ebuild b/media-libs/libgpod/libgpod-0.8.3-r7.ebuild
index 87203a063b15..959027f94d84 100644
--- a/media-libs/libgpod/libgpod-0.8.3-r7.ebuild
+++ b/media-libs/libgpod/libgpod-0.8.3-r7.ebuild
@@ -66,7 +66,7 @@ src_configure() {
 src_install() {
 	default
 	rm "${ED}"/usr/$(get_libdir)/pkgconfig/libgpod-sharp.pc || die
-	use udev && rmdir "${ED}"/tmp || die
+	[[ -d ${ED}/tmp ]] && rmdir "${ED}"/tmp || die
 	find "${ED}" -name '*.la' -type f -delete || die
 }
 


             reply	other threads:[~2024-04-27 21:49 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-27 21:49 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-25  9:34 [gentoo-commits] repo/gentoo:master commit in: media-libs/libgpod/ Jakov Smolić
2024-11-25  3:07 Sam James
2024-11-25  3:07 Sam James
2024-11-23 16:55 Michał Górny
2024-11-23 16:20 Michał Górny
2024-11-23 12:09 Sam James
2024-04-27 21:49 James Le Cuirot
2023-02-25 18:29 Arthur Zamarin
2023-02-25 18:28 Arthur Zamarin
2023-02-25 18:25 Arthur Zamarin
2021-09-24  1:37 Yixun Lan
2021-04-03 17:48 Mike Gilbert
2021-03-28  0:26 Andreas Sturmlechner
2020-06-20 23:01 Andreas Sturmlechner
2020-06-20 23:01 Andreas Sturmlechner
2020-02-09 16:29 Michał Górny
2017-05-20 23:46 Michael Weber
2016-10-09 10:25 Pacho Ramos
2016-10-09 10:25 Pacho Ramos
2016-06-26 17:26 Michael Palimaka
2016-04-06 12:26 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1714254559.e694c331b21c9dfe8a856aca7fbc1ccf9db9b0a4.chewi@gentoo \
    --to=chewi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox