mirror of
https://github.com/derrod/legendary.git
synced 2025-01-03 04:45:28 +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.')
|
logger.error('Login failed! Cannot continue with download process.')
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
|
if args.file_prefix:
|
||||||
|
args.no_install = True
|
||||||
|
|
||||||
if args.update_only:
|
if args.update_only:
|
||||||
if not self.core.is_installed(args.app_name):
|
if not self.core.is_installed(args.app_name):
|
||||||
logger.error(f'Update requested for "{args.app_name}", but app not installed!')
|
logger.error(f'Update requested for "{args.app_name}", but app not installed!')
|
||||||
|
|
Loading…
Reference in a new issue