xbps_register_pkg: remove 'automatic' boolean argument.

It should be provided in the proplib dictionary with key 'automatic-install'.
This fixes a regression not respecting the 'automatic-install' value stored
in regpkgdb.
This commit is contained in:
Juan RP
2011-04-11 14:42:06 +02:00
parent ad66fa2e3d
commit ef28101203
4 changed files with 19 additions and 15 deletions

View File

@ -184,7 +184,7 @@ main(int argc, char **argv)
if (rv != 0)
exit(EXIT_FAILURE);
rv = xbps_register_pkg(dict, false);
rv = xbps_register_pkg(dict);
if (rv == EEXIST) {
printf("%s%s=> %s-%s already registered.%s\n", MSG_WARN,
in_chroot ? "[chroot] " : "", argv[1], argv[2],