mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[cli] Set no_install flag when using --prefix options
This commit is contained in:
parent
c9392ca22c
commit
31bf74b33d
|
@ -204,6 +204,9 @@ class LegendaryCLI:
|
|||
logger.error('Login failed! Cannot continue with download process.')
|
||||
exit(1)
|
||||
|
||||
if args.file_prefix:
|
||||
args.no_install = True
|
||||
|
||||
if args.update_only:
|
||||
if not self.core.is_installed(args.app_name):
|
||||
logger.error(f'Update requested for "{args.app_name}", but app not installed!')
|
||||
|
|
Loading…
Reference in a new issue