diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-03-28 22:01:11 +0200 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-03-28 22:01:11 +0200 |
commit | 3ac94cc71905535252db84f8a0c26a4f59d8162c (patch) | |
tree | 40981b5a77f3acaebb3ebd19f36e20e46ca78424 /lib | |
parent | fd09a500d6456b4ba95fd501a5af67426e929dac (diff) | |
download | pacman-3ac94cc71905535252db84f8a0c26a4f59d8162c.tar.gz pacman-3ac94cc71905535252db84f8a0c26a4f59d8162c.tar.xz |
maked use of db->path instead of handle->root+handle->dbpath+db->treename
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libalpm/remove.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index 1c6e4806..9b9f91dc 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -133,7 +133,7 @@ int remove_commit(pmdb_t *db, pmtrans_t *trans) /* run the pre-remove scriptlet if it exists */ if(info->scriptlet) { - snprintf(pm_install, PATH_MAX, "%s%s/%s/%s-%s/install", handle->root, handle->dbpath, db->treename, info->name, info->version); + snprintf(pm_install, PATH_MAX, "%s/%s-%s/install", db->path, info->name, info->version); _alpm_runscriptlet(handle->root, pm_install, "pre_remove", info->version, NULL); } } |