mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
init: do not try to find aapt if androguard is available
This commit is contained in:
parent
aa4f54bf18
commit
847bbb6e43
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue