diff options
Diffstat (limited to 'meta/classes/package_deb.bbclass')
-rw-r--r-- | meta/classes/package_deb.bbclass | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index 84b1c522e7..455919913b 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass | |||
@@ -101,16 +101,13 @@ package_install_internal_deb () { | |||
101 | 101 | ||
102 | apt-get update | 102 | apt-get update |
103 | 103 | ||
104 | # Uclibc builds don't provide this stuff.. | 104 | if [ ! -z "${package_linguas}" ]; then |
105 | if [ x${TARGET_OS} = "xlinux" ] || [ x${TARGET_OS} = "xlinux-gnueabi" ] ; then | 105 | for i in ${package_linguas}; do |
106 | if [ ! -z "${package_linguas}" ]; then | 106 | apt-get install $i --force-yes --allow-unauthenticated |
107 | for i in ${package_linguas}; do | 107 | if [ $? -ne 0 ]; then |
108 | apt-get install $i --force-yes --allow-unauthenticated | 108 | exit 1 |
109 | if [ $? -ne 0 ]; then | 109 | fi |
110 | exit 1 | 110 | done |
111 | fi | ||
112 | done | ||
113 | fi | ||
114 | fi | 111 | fi |
115 | 112 | ||
116 | # normal install | 113 | # normal install |