a->nodeps = c->nodeps;
a->noaction = c->noaction;
a->query_all = c->query_all;
- a->multiple_providers = c->multiple_providers;
a->verbosity = c->verbosity;
if (c->offline_root)
for (i=0; i < argc; i++) {
arg = argv[i];
- if (conf->multiple_providers)
- err = opkg_install_multi_by_name(conf, arg);
- else{
- err = opkg_install_by_name(conf, arg);
- }
+ err = opkg_install_by_name(conf, arg);
if (err == OPKG_PKG_HAS_NO_CANDIDATE) {
opkg_message(conf, OPKG_ERROR,
"Cannot find package %s.\n"
{ "force_space", OPKG_OPT_TYPE_BOOL, &conf->force_space },
{ "ftp_proxy", OPKG_OPT_TYPE_STRING, &conf->ftp_proxy },
{ "http_proxy", OPKG_OPT_TYPE_STRING, &conf->http_proxy },
- { "multiple_providers", OPKG_OPT_TYPE_BOOL, &conf->multiple_providers },
{ "no_proxy", OPKG_OPT_TYPE_STRING, &conf->no_proxy },
{ "test", OPKG_OPT_TYPE_INT, &conf->noaction },
{ "noaction", OPKG_OPT_TYPE_INT, &conf->noaction },
conf->offline_root = NULL;
conf->offline_root_pre_script_cmd = NULL;
conf->offline_root_post_script_cmd = NULL;
- conf->multiple_providers = 0;
conf->verbosity = 1;
conf->noaction = 0;
if (args->query_all) {
conf->query_all = 1;
}
- if (args->multiple_providers) {
- conf->multiple_providers = 1;
- }
if (args->verbosity != conf->verbosity) {
conf->verbosity = args->verbosity;
}
int force_removal_of_dependent_packages;
int force_removal_of_essential_packages;
int nodeps; /* do not follow dependences */
- int multiple_providers;
char *offline_root;
char *offline_root_pre_script_cmd;
char *offline_root_post_script_cmd;
pkg->epoch = 0;
pkg->version = NULL;
pkg->revision = NULL;
- pkg->familiar_revision = NULL;
pkg->dest = NULL;
pkg->src = NULL;
pkg->architecture = NULL;
pkg->epoch = 0;
free(pkg->version);
pkg->version = NULL;
- /* revision and familiar_revision share storage with version, so
+ /* revision shares storage with version, so
don't free */
pkg->revision = NULL;
- pkg->familiar_revision = NULL;
/* owned by opkg_conf_t */
pkg->dest = NULL;
/* owned by opkg_conf_t */
unsigned long epoch;
char *version;
char *revision;
- char *familiar_revision;
pkg_src_t *src;
pkg_dest_t *dest;
char *architecture;
}
pkg->revision = "";
- pkg->familiar_revision = "";
if (!pkg->version)
{
pkg->revision = hyphen;
}
-/*
- fprintf(stderr,"Parsed version: %lu, %s, %s, %s\n",
- pkg->epoch,
- pkg->version,
- pkg->revision,
- pkg->familiar_revision);
-*/
-
return 0;
}