From e21f4c8f2e7eb9f974c1bb1ecac03eb947982be6 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Tue, 24 Oct 2006 04:33:40 +0000 Subject: Added PM_DLFNM_LEN define, via VMiklos http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=commitdiff;h=20061023154138-e2957-de4837230b091cbc2136306e1c55a4b79cc72fc8.gz --- lib/libalpm/alpm.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/libalpm/alpm.c') diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c index 386eee4d..df267e31 100644 --- a/lib/libalpm/alpm.c +++ b/lib/libalpm/alpm.c @@ -379,8 +379,13 @@ int alpm_db_update(int force, PM_DB *db) if(_alpm_unpack(path, db->path, NULL)) { RET_ERR(PM_ERR_SYSTEM, 1); } + /* remove the .tar.gz */ + /* aaron: let's not do this... we'll keep the DB around to be read for the + * "new and improved" db routines + unlink(path); + */ } return(0); -- cgit v1.2.3-24-g4f1b