forward port

This commit is contained in:
S.Çağlar Onur
2007-05-23 12:40:12 +00:00
parent c9228fd988
commit a8520b4119
+2
View File
@@ -495,6 +495,7 @@ def upgrade_pkg_names(A = []):
paths = []
for x in order:
ctx.ui.info(_("Downloading %d / %d") % (order.index(x)+1, len(order)))
install_op = atomicoperations.Install.from_name(x)
paths.append(install_op.package_fname)
@@ -507,6 +508,7 @@ def upgrade_pkg_names(A = []):
remove_conflicting_packages(conflicts)
for path in paths:
ctx.ui.info(_("Installing %d / %d") % (paths.index(path)+1, len(paths)))
install_op = atomicoperations.Install(path, ignore_file_conflicts = True)
install_op.install(True)