From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7A2AB1581E7 for ; Sat, 27 Apr 2024 21:49:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59616E29F0; Sat, 27 Apr 2024 21:49:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3AC2FE29F0 for ; Sat, 27 Apr 2024 21:49:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 49D3A342FFC for ; Sat, 27 Apr 2024 21:49:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DDBE5158C for ; Sat, 27 Apr 2024 21:49:42 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1714254559.e694c331b21c9dfe8a856aca7fbc1ccf9db9b0a4.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libgpod/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libgpod/libgpod-0.8.3-r7.ebuild X-VCS-Directories: media-libs/libgpod/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: e694c331b21c9dfe8a856aca7fbc1ccf9db9b0a4 X-VCS-Branch: master Date: Sat, 27 Apr 2024 21:49:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c928abfb-b721-4450-8df5-6d8e1d73ffb9 X-Archives-Hash: 753233bead83e86bb873ca0838a3e13f commit: e694c331b21c9dfe8a856aca7fbc1ccf9db9b0a4 Author: James Le Cuirot gentoo org> AuthorDate: Sat Apr 27 21:45:16 2024 +0000 Commit: James Le Cuirot gentoo 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 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 }