Directly get the job type from the job itself
modified libpkg/pkg.h
@@ -874,6 +874,7 @@ int pkg_jobs_add(struct pkg_jobs *jobs, struct pkg *pkg);
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/pkg_jobs.c
@@ -213,6 +213,12 @@ pkg_jobs_count(struct pkg_jobs *j)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified pkg/autoremove.c
@@ -105,7 +105,7 @@ exec_autoremove(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified pkg/delete.c
@@ -145,7 +145,7 @@ exec_delete(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified pkg/fetch.c
@@ -132,7 +132,7 @@ exec_fetch(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified pkg/install.c
@@ -154,7 +154,7 @@ exec_install(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified pkg/pkgcli.h
@@ -215,8 +215,7 @@ bool query_yesno(const char *msg, ...);
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified pkg/utils.c
@@ -524,7 +524,7 @@ print_info(struct pkg * const pkg, unsigned int options)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -535,6 +535,9 @@ print_jobs_summary(struct pkg_jobs *jobs, pkg_jobs_t type, const char *msg, ...)
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|