diff options
author | Koen Kooi <koen@openembedded.org> | 2008-10-30 11:40:08 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-10-30 11:40:08 +0100 |
commit | 1320d90a7ad2c96f9a5a45d5abb886c150a752e4 (patch) | |
tree | 4ee54fc1528cb450515a5ef58a8799896c06bc73 /classes | |
parent | 22e85416d9973330854c17e0c53df16b62363b48 (diff) |
package bblass: fix ldconfig_postinst_fragment to not return an error if no /etc/ld.so.conf is present
Diffstat (limited to 'classes')
-rw-r--r-- | classes/package.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass index 4dfd5f0444..8db000b23a 100644 --- a/classes/package.bbclass +++ b/classes/package.bbclass @@ -551,7 +551,9 @@ emit_pkgdata[dirs] = "${PKGDATA_DIR}/runtime" ldconfig_postinst_fragment() { if [ x"$D" = "x" ]; then - [ -x /sbin/ldconfig ] && [ -e /etc/ld.so.conf ] && /sbin/ldconfig + if [ -e /etc/ld.so.conf ] ; then + [ -x /sbin/ldconfig ] && /sbin/ldconfig + fi fi } |