summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.c
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-10-24 04:33:40 +0000
committerAaron Griffin <aaron@archlinux.org>2006-10-24 04:33:40 +0000
commite21f4c8f2e7eb9f974c1bb1ecac03eb947982be6 (patch)
tree45cf49a3df121d814d86e21b38db6edce8634e8f /lib/libalpm/alpm.c
parent7fc4b8d2d51ba3f5503b06ee6c368ee87ca2c81d (diff)
downloadpacman-e21f4c8f2e7eb9f974c1bb1ecac03eb947982be6.tar.xz
Added PM_DLFNM_LEN define, via VMiklos
http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=commitdiff;h=20061023154138-e2957-de4837230b091cbc2136306e1c55a4b79cc72fc8.gz
Diffstat (limited to 'lib/libalpm/alpm.c')
-rw-r--r--lib/libalpm/alpm.c5
1 files changed, 5 insertions, 0 deletions
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);