diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-06-06 14:14:10 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-06-06 14:14:10 +0000 |
commit | 99e0700b4b4064f3c53401e2ceda3d3347f830cb (patch) | |
tree | 12549ee74d1a3f34071db9f4b769dd41cddad710 /meta/classes | |
parent | eedc6b9b2fd9851b10bda716aa996c11f4c30b75 (diff) | |
download | openembedded-core-99e0700b4b4064f3c53401e2ceda3d3347f830cb.tar.gz openembedded-core-99e0700b4b4064f3c53401e2ceda3d3347f830cb.tar.bz2 openembedded-core-99e0700b4b4064f3c53401e2ceda3d3347f830cb.tar.xz openembedded-core-99e0700b4b4064f3c53401e2ceda3d3347f830cb.zip |
rootfs_ipk.bbclass: reformatted install_all_locales function
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4602 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/rootfs_ipk.bbclass | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass index 5f7c741e6..d038686cc 100644 --- a/meta/classes/rootfs_ipk.bbclass +++ b/meta/classes/rootfs_ipk.bbclass @@ -97,17 +97,17 @@ install_all_locales() { for pkg in `grep ^Package: ${IMAGE_ROOTFS}${libdir}/opkg/status |sed "s/^Package: //"|egrep -v -- "(-locale-|-dev$|-doc$|^kernel|^glibc|^ttf|^task|^perl|^python)"` do - for lang in ${IMAGE_LOCALES} - do - if [ `opkg-cl ${IPKG_ARGS} info $pkg-locale-$lang | wc -l` -gt 0 ] - then - PACKAGES_TO_INSTALL="$PACKAGES_TO_INSTALL $pkg-locale-$lang" - fi - done + for lang in ${IMAGE_LOCALES} + do + if [ `opkg-cl ${IPKG_ARGS} info $pkg-locale-$lang | wc -l` -gt 0 ] + then + PACKAGES_TO_INSTALL="$PACKAGES_TO_INSTALL $pkg-locale-$lang" + fi + done done if [ "$PACKAGES_TO_INSTALL" != "" ] then - opkg-cl ${IPKG_ARGS} install $PACKAGES_TO_INSTALL + opkg-cl ${IPKG_ARGS} install $PACKAGES_TO_INSTALL fi } |