* do not override cli option
This commit is contained in:
+2
-1
@@ -72,7 +72,8 @@ def upgrade_pisi():
|
||||
def install(packages, reinstall = False, ignore_file_conflicts=False):
|
||||
"""install a list of packages (either files/urls, or names)"""
|
||||
|
||||
ctx.set_option('ignore_file_conflicts', ignore_file_conflicts)
|
||||
if not ctx.get_option('ignore_file_conflicts'):
|
||||
ctx.set_option('ignore_file_conflicts', ignore_file_conflicts)
|
||||
|
||||
# FIXME: this function name "install" makes impossible to import
|
||||
# and use install module directly.
|
||||
|
||||
Reference in New Issue
Block a user