xbps_remove_pkg: fix path to REMOVE script.

This commit is contained in:
Juan RP 2011-12-16 10:34:05 +01:00
parent 450bf2713d
commit 1a4c13e1bf
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@
*/
#define XBPS_PKGINDEX_VERSION "1.3"
#define XBPS_API_VERSION "20111216"
#define XBPS_API_VERSION "20111216-1"
#define XBPS_VERSION "0.11.0"
/**

View File

@ -215,7 +215,7 @@ xbps_remove_pkg(const char *pkgname, const char *version, bool update)
if (!update)
xbps_set_cb_state(XBPS_STATE_REMOVE, 0, pkgname, version, NULL);
buf = xbps_xasprintf(".%s/metadata/%s/REMOVE",
buf = xbps_xasprintf("%s/metadata/%s/REMOVE",
XBPS_META_PATH, pkgname);
if (buf == NULL) {
rv = ENOMEM;