From 3df22522b9bdc00cff582e4f4ae390db653a2700 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 27 Aug 2009 07:31:50 +0200 Subject: [PATCH] xbps_configure_pkg: pass correct version to the post install script. --HG-- extra : convert_revision : xtraeme%40gmail.com-20090827053150-j6wqvnjuhjs09r5t --- lib/configure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/configure.c b/lib/configure.c index cbd6db9e..e81a9f8d 100644 --- a/lib/configure.c +++ b/lib/configure.c @@ -124,7 +124,7 @@ xbps_configure_pkg(const char *pkgname, const char *version, bool check_state) if (access(buf, X_OK) == 0) { if ((rv = xbps_file_chdir_exec(rootdir, buf, "post", - pkgname, version, NULL)) != 0) { + pkgname, lver, NULL)) != 0) { free(buf); printf("%s: post INSTALL action returned: %s\n", pkgname, strerror(errno));