From 31bf74b33ddc7b43c39a0c29fea60618a25df264 Mon Sep 17 00:00:00 2001 From: derrod Date: Thu, 30 Apr 2020 11:49:33 +0200 Subject: [PATCH] [cli] Set no_install flag when using --prefix options --- legendary/cli.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/legendary/cli.py b/legendary/cli.py index 3821a9b..053500b 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -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!')