From: Phil Blundell Date: Wed, 17 Oct 2012 22:25:17 +0000 (+0100) Subject: gconf: Avoid error when trying to delete files that don't exist X-Git-Tag: rev_ivi_2015_02_04~15137 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a3c3ed900a5370dc4839bd899b6c532972f7f01;p=scm%2Fbb%2Ftizen-distro.git gconf: Avoid error when trying to delete files that don't exist Use "rm -f" in do_install_append() so we don't fail if the files we're trying to delete have already been removed. This can happen if the distro policy suppresses both static libs and .la files. (From OE-Core rev: 2ee9601ae590b2964d1c44b131188a80cc5198a9) Signed-off-by: Phil Blundell Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-gnome/gnome/gconf_3.2.3.bb b/meta/recipes-gnome/gnome/gconf_3.2.3.bb index dc3520f..4d77a14 100644 --- a/meta/recipes-gnome/gnome/gconf_3.2.3.bb +++ b/meta/recipes-gnome/gnome/gconf_3.2.3.bb @@ -33,8 +33,8 @@ do_install_append() { install -d ${D}${sysconfdir}/gconf/gconf.xml.system # this stuff is unusable - rm ${D}${libdir}/GConf/*/*.*a - rm ${D}${libdir}/gio/*/*.*a + rm -f ${D}${libdir}/GConf/*/*.*a + rm -f ${D}${libdir}/gio/*/*.*a } # disable dbus-x11 when x11 isn't in DISTRO_FEATURES