[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5029/8267] libpng12: Use rm instead of unlink
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 5029/8267] libpng12: Use rm instead of unlink
- Date: Sun, 17 Dec 2017 02:51:57 +0000 (UTC)
commit a0bfdfa9128a0604151e57e6a3d371b2899036ac
Author: Richard Purdie <richard purdie linuxfoundation org>
Date: Thu Mar 9 10:15:32 2017 +0000
libpng12: Use rm instead of unlink
Everything else in the system manages fine with rm, use rm instead of unlink
here too.
(From OE-Core rev: d292641ca52072a3629e589cc413344310d35280)
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/recipes-lsb4/libpng/libpng12_1.2.57.bb | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/meta/recipes-lsb4/libpng/libpng12_1.2.57.bb b/meta/recipes-lsb4/libpng/libpng12_1.2.57.bb
index 0d5a2c4..9f74f5f 100644
--- a/meta/recipes-lsb4/libpng/libpng12_1.2.57.bb
+++ b/meta/recipes-lsb4/libpng/libpng12_1.2.57.bb
@@ -24,13 +24,13 @@ inherit autotools binconfig pkgconfig
do_install_append() {
# The follow link files link to corresponding png12*.h and libpng12* files
# They conflict with higher verison, so drop them
- unlink ${D}/${includedir}/png.h
- unlink ${D}/${includedir}/pngconf.h
+ rm ${D}/${includedir}/png.h
+ rm ${D}/${includedir}/pngconf.h
- unlink ${D}/${libdir}/libpng.la
- unlink ${D}/${libdir}/libpng.so
- unlink ${D}/${libdir}/libpng.a || true
- unlink ${D}/${libdir}/pkgconfig/libpng.pc
+ rm ${D}/${libdir}/libpng.la
+ rm ${D}/${libdir}/libpng.so
+ rm ${D}/${libdir}/libpng.a || true
+ rm ${D}/${libdir}/pkgconfig/libpng.pc
- unlink ${D}/${bindir}/libpng-config
+ rm ${D}/${bindir}/libpng-config
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]