First remove than install packages

Also remove should be with ignore-dep and ignore-safety. 
pisi should know what its doing
This commit is contained in:
Gökçen Eraslan
2008-03-11 07:12:08 +00:00
parent 6212f0c0e3
commit d7256a2b67
+3 -3
View File
@@ -139,10 +139,10 @@ def takeback(operation):
if not ctx.ui.confirm(_('Do you want to continue?')): if not ctx.ui.confirm(_('Do you want to continue?')):
return return
if beremoved:
pisi.operations.remove.remove(beremoved, True, True)
if paths: if paths:
pisi.operations.install.install_pkg_files(paths) pisi.operations.install.install_pkg_files(paths)
if beremoved:
pisi.operations.remove.remove(beremoved)
historydb.load_config(operation) historydb.load_config(operation)