Really handle correctly upgrading a package when no files are shared between the old and the new version, avoid the slow upgrade of the previous attempt
modified libpkg/pkg_jobs.c
@@ -205,11 +205,20 @@ pkg_jobs_install(struct pkg_jobs *j)
|
|
|
|
|
|
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified pkg/install.c
@@ -87,6 +87,7 @@ exec_install(int argc, char **argv)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -139,7 +140,6 @@ exec_install(int argc, char **argv)
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified pkg/upgrade.c
@@ -78,6 +78,7 @@ exec_upgrade(int argc, char **argv)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -128,7 +129,6 @@ exec_upgrade(int argc, char **argv)
|
|
|
|
|
|
| - | |
|
|
|
|
|