]> code.ossystems Code Review - openembedded-core.git/commitdiff
opkg prints 'loading conf' informations so we get two lines each time
authorMarcin Juszkiewicz <hrw@openedhand.com>
Fri, 6 Jun 2008 14:14:59 +0000 (14:14 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Fri, 6 Jun 2008 14:14:59 +0000 (14:14 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4604 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/rootfs_ipk.bbclass

index e6f706de4e5b7eec80c96d00b84471cfa7cd91bd..7db2ecb2f11fb7e79015264ca1b1f9208811992f 100644 (file)
@@ -101,7 +101,7 @@ install_all_locales() {
     do
         for lang in ${IMAGE_LOCALES}
         do
-            if [ `opkg-cl ${IPKG_ARGS} info $pkg-locale-$lang | wc -l` -gt 0 ]
+            if [ `opkg-cl ${IPKG_ARGS} info $pkg-locale-$lang | wc -l` -gt 2 ]
             then
                     PACKAGES_TO_INSTALL="$PACKAGES_TO_INSTALL $pkg-locale-$lang"
             fi