diff options
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/package_manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index c51e88be58..630b957ba9 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
@@ -1512,7 +1512,7 @@ class OpkgPM(PackageManager): | |||
1512 | self.deploy_dir_unlock() | 1512 | self.deploy_dir_unlock() |
1513 | 1513 | ||
1514 | def install(self, pkgs, attempt_only=False): | 1514 | def install(self, pkgs, attempt_only=False): |
1515 | if attempt_only and len(pkgs) == 0: | 1515 | if not pkgs: |
1516 | return | 1516 | return |
1517 | 1517 | ||
1518 | cmd = "%s %s install %s" % (self.opkg_cmd, self.opkg_args, ' '.join(pkgs)) | 1518 | cmd = "%s %s install %s" % (self.opkg_cmd, self.opkg_args, ' '.join(pkgs)) |