From 839a64df411115599bdef7a5c14d180111842523 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Tue, 21 Mar 2006 19:38:00 +0000 Subject: fixed a regression (patch from VMiklos ) --- lib/libalpm/be_files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/be_files.c') diff --git a/lib/libalpm/be_files.c b/lib/libalpm/be_files.c index c584b276..0a648223 100644 --- a/lib/libalpm/be_files.c +++ b/lib/libalpm/be_files.c @@ -330,7 +330,7 @@ int _alpm_db_read(pmdb_t *db, unsigned int inforeq, pmpkg_t *info) /* INSTALL */ if(inforeq & INFRQ_SCRIPLET) { - snprintf(path, PATH_MAX, "%s/%s/%s-%s/install", db->path, db->treename, info->name, info->version); + snprintf(path, PATH_MAX, "%s/%s-%s/install", db->path, info->name, info->version); if(!stat(path, &buf)) { info->scriptlet = 1; } -- cgit v1.2.3