Fix: Native arch APKINDEX downloaded twice (#1190)

Nowadays pmb.config.build_device_architectures holds the native
architecture as well, so we don't need to explicitly download the
native architecture APKINDEX.
This commit is contained in:
Oliver Smith 2018-02-01 21:27:17 +00:00 committed by GitHub
parent c925791387
commit a5d2b2b064
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ def update(args, force=False):
:arg force: even update when the APKINDEX file is fairly recent
"""
architectures = [args.arch_native] + pmb.config.build_device_architectures
architectures = pmb.config.build_device_architectures
retention_hours = pmb.config.apkindex_retention_time
retention_seconds = retention_hours * 3600