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:
Juan RP 2009-02-15 20:23:23 +01:00
parent e7c17a5cd8
commit 746d59a9dd
5 changed files with 69 additions and 10 deletions

View file

@ -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]);