[cli] Set no_install flag when using --prefix options

This commit is contained in:
derrod 2020-04-30 11:49:33 +02:00
parent c9392ca22c
commit 31bf74b33d

View file

@ -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!')