mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
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>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user