Added support to keep track of reverse depends on installed packages.

--HG--
extra : convert_revision : 9e3e46f726ef28843dc52b95ce818637c2a18de5
This commit is contained in:
Juan RP 2009-02-10 02:52:12 +01:00
parent e32d15605b
commit 939a63036e
6 changed files with 189 additions and 26 deletions

View file

@ -1,5 +1,5 @@
/*-
* Copyright (c) 2008 Juan Romero Pardines.
* Copyright (c) 2008-2009 Juan Romero Pardines.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -113,7 +113,7 @@ main(int argc, char **argv)
if (argc != 4)
usage();
rv = xbps_register_pkg(argv[1], argv[2], argv[3]);
rv = xbps_register_pkg(NULL, argv[1], argv[2], argv[3]);
if (rv == EEXIST) {
printf("%s=> %s-%s already registered.\n",
in_chroot ? "[chroot] " : "", argv[1], argv[2]);