mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 11:00:10 +01:00
init: do not try to find aapt if androguard is available
This commit is contained in:
parent
aa4f54bf18
commit
847bbb6e43
@ -131,7 +131,9 @@ def main():
|
||||
logging.info('Try running `fdroid init` in an empty directory.')
|
||||
raise FDroidException('Repository already exists.')
|
||||
|
||||
if 'aapt' not in test_config or not os.path.isfile(test_config['aapt']):
|
||||
if common.use_androguard():
|
||||
pass
|
||||
elif 'aapt' not in test_config or not os.path.isfile(test_config['aapt']):
|
||||
# try to find a working aapt, in all the recent possible paths
|
||||
build_tools = os.path.join(test_config['sdk_path'], 'build-tools')
|
||||
aaptdirs = []
|
||||
|
Loading…
Reference in New Issue
Block a user