xbps_remove_pkg: fix path to REMOVE script.
This commit is contained in:
parent
450bf2713d
commit
1a4c13e1bf
@ -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"
|
||||
|
||||
/**
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user