After accepting the packages to be installed/removed for a takeback operation,

do not warn and ask about any package operation.

BUG:FIXED:8811
This commit is contained in:
Faik Uygur
2009-01-27 10:26:21 +00:00
parent 344dbdd1fd
commit f4b4837a81
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ def takeback(operation):
pisi.operations.remove.remove(beremoved, True, True)
if paths:
pisi.operations.install.install_pkg_files(paths)
pisi.operations.install.install_pkg_files(paths, True)
for pkg, operation in configs:
historydb.load_config(operation, pkg)
+3 -3
View File
@@ -100,7 +100,7 @@ def install_pkg_names(A, reinstall = False):
return True
def install_pkg_files(package_URIs):
def install_pkg_files(package_URIs, reinstall = False):
"""install a number of pisi package files"""
ctx.ui.debug('A = %s' % str(package_URIs))
@@ -112,7 +112,7 @@ def install_pkg_files(package_URIs):
if ctx.config.get_option('ignore_dependency'):
# simple code path then
for x in package_URIs:
atomicoperations.install_single_file(x)
atomicoperations.install_single_file(x, reinstall)
return True
# read the package information into memory first
@@ -207,7 +207,7 @@ in the respective order to satisfy extra dependencies:
ctx.ui.notify(ui.packagestogo, order = order)
for x in order:
atomicoperations.install_single_file(dfn[x])
atomicoperations.install_single_file(dfn[x], reinstall)
return True