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:
@ -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],
|
||||
|
Reference in New Issue
Block a user