libxbps: handle the case to replace a vpkg with a pkg with same name.

This for example fixes reinstalling jpeg and libjpeg-turbo multiple
times. Also if the "automatic-install" obj is in the pkg to be
replaced, copy it to the new pkg to be preserved.

Bumped XBPS_API_VERSION.
This commit is contained in:
Juan RP
2011-10-16 10:28:03 +02:00
parent 0f0c66fafb
commit 104bec27e5
2 changed files with 13 additions and 7 deletions

View File

@ -55,7 +55,7 @@
*/
#define XBPS_PKGINDEX_VERSION "1.2"
#define XBPS_API_VERSION "20111015"
#define XBPS_API_VERSION "20111016"
#define XBPS_VERSION "0.10.0"
/**