Some improvements for installation of binary packages.
* If any dep of a package cannot be found in the repository pool, show it on xbps-bin. * Add the automatic-install boolean obj into pkg's dictionary on regpkgdb.plist, this will be used to implemented something like "apt-get autoremove". --HG-- extra : convert_revision : 666e2fa666ac94140159896e28b445e88e8afb7a
This commit is contained in:
parent
e7c17a5cd8
commit
746d59a9dd
5 changed files with 69 additions and 10 deletions
|
@ -113,7 +113,8 @@ main(int argc, char **argv)
|
|||
if (argc != 4)
|
||||
usage();
|
||||
|
||||
rv = xbps_register_pkg(NULL, argv[1], argv[2], argv[3]);
|
||||
rv = xbps_register_pkg(NULL, argv[1], argv[2],
|
||||
argv[3], false);
|
||||
if (rv == EEXIST) {
|
||||
printf("%s=> %s-%s already registered.\n",
|
||||
in_chroot ? "[chroot] " : "", argv[1], argv[2]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue