diff options
author | James Le Cuirot <chewi@gentoo.org> | 2024-04-27 22:45:16 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2024-04-27 22:49:19 +0100 |
commit | e694c331b21c9dfe8a856aca7fbc1ccf9db9b0a4 (patch) | |
tree | 23065bb4f3fd13439a87940304b93ddbb9224977 | |
parent | media-libs/libgpod: Patch to support libplist-2.3 (diff) | |
download | gentoo-e694c331b21c9dfe8a856aca7fbc1ccf9db9b0a4.tar.gz gentoo-e694c331b21c9dfe8a856aca7fbc1ccf9db9b0a4.tar.bz2 gentoo-e694c331b21c9dfe8a856aca7fbc1ccf9db9b0a4.zip |
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@gentoo.org>
-rw-r--r-- | media-libs/libgpod/libgpod-0.8.3-r7.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |