xbps-install: -f will also overwrite pkg files.

This commit is contained in:
Juan RP
2012-11-19 20:50:58 +01:00
parent d92c87dbf3
commit 5de4fb1f0a
3 changed files with 20 additions and 8 deletions

View File

@@ -56,7 +56,7 @@
*/
#define XBPS_PKGINDEX_VERSION "1.5"
#define XBPS_API_VERSION "20121119-1"
#define XBPS_API_VERSION "20121119-2"
#ifndef XBPS_VERSION
#define XBPS_VERSION "UNSET"
@@ -177,6 +177,14 @@
*/
#define XBPS_FLAG_DEBUG 0x00000040
/**
* @def XBPS_FLAG_FORCE_INSTALL
* Force flag used in xbps_unpack_binary_pkg(). If set its package
* files will be unpacked overwritting the current ones.
* Must be set through the xbps_handle::flags member.
*/
#define XBPS_FLAG_FORCE_INSTALL 0x00000080
/**
* @def XBPS_FETCH_CACHECONN
* Default (global) limit of cached connections used in libfetch.