mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 18:21:26 +00:00
Add an option to allways check for needed system packages.
This commit is contained in:
@ -580,7 +580,7 @@ class BuildEnv:
|
||||
packages = getattr(dep, 'extra_packages', [])
|
||||
for package in packages:
|
||||
packages_list += package_name_mapper.get(package, [])
|
||||
if os.path.exists(autoskip_file):
|
||||
if not self.options.force_install_packages and os.path.exists(autoskip_file):
|
||||
print("SKIP")
|
||||
return
|
||||
|
||||
@ -758,6 +758,8 @@ def parse_args():
|
||||
help="Skip SSL certificate verification during download")
|
||||
subgroup.add_argument('--clean-at-end', action='store_true',
|
||||
help="Clean all intermediate files after the (successfull) build")
|
||||
subgroup.add_argument('--force-install-packages', action='store_true',
|
||||
help="Allways check for needed packages before compiling")
|
||||
subgroup = parser.add_argument_group('custom app',
|
||||
description="Android custom app specific options")
|
||||
subgroup.add_argument('--android-custom-app',
|
||||
|
Reference in New Issue
Block a user