pkg_formatted_info(stdout, pkg);
- if (conf->verbosity > 1) {
+ if (conf->verbosity >= OPKG_NOTICE) {
conffile_list_elt_t *iter;
for (iter = nv_pair_list_first(&pkg->conffiles); iter; iter = nv_pair_list_next(&pkg->conffiles, iter)) {
conffile_t *cf = (conffile_t *)iter->data;
for (l = 0; l < cdepend->possibility_count; l++) {
depend_t *possibility = cdepend->possibilities[l];
opkg_message(conf, OPKG_ERROR, " %s", possibility->pkg->name);
- if (conf->verbosity > 0) {
- // char *ver = abstract_pkg_version_str_alloc(possibility->pkg);
+ if (conf->verbosity >= OPKG_NOTICE) {
opkg_message(conf, OPKG_NOTICE, " %s", possibility->version);
if (possibility->version) {
char *typestr = NULL;
}
opkg_message(conf, OPKG_NOTICE, " (%s %s)", typestr, possibility->version);
}
- // free(ver);
}
opkg_message(conf, OPKG_ERROR, "\n");
}
pkg_mark_provides(pkg);
changed++;
- opkg_message(conf, OPKG_NOTICE, " %s", pkg->name);
- if (conf->verbosity > 0) {
+ if (conf->verbosity >= OPKG_NOTICE) {
char *ver = pkg_version_str_alloc(pkg);
+ opkg_message(conf, OPKG_NOTICE, " %s", pkg->name);
opkg_message(conf, OPKG_NOTICE, " %s", ver);
opkg_message(conf, OPKG_NOTICE, "\t%s %s", rel_str, possibility->pkg->name);
if (possibility->version) {
}
- if (matching_apkgs->len > 1 && conf->verbosity > 1) {
+ if (conf->verbosity >= OPKG_NOTICE && matching_apkgs->len > 1) {
opkg_message(conf, OPKG_NOTICE, "%s: for apkg=%s, %d matching pkgs\n",
__FUNCTION__, apkg->name, matching_pkgs->len);
for (i = 0; i < matching_pkgs->len; i++) {