index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2008-01-13 12:27:17 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-13 12:27:17 -0600 |
commit | 521de7ceedc6e4f5df52c0380f536a6f13a7f578 (patch) | |
tree | 1b6d86158a19b3156c23cb81ee90f291ca85f9b3 /lib/libalpm/util.c | |
parent | 4f267017936471c8248a85f8d86aabb96e66c7e8 (diff) | |
parent | bbe02ec57fd56670dfe0bc08d981ce8a1aa31370 (diff) |
-rw-r--r-- | lib/libalpm/util.c | 2 |
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c index 64006d1f..d09b9b14 100644 --- a/lib/libalpm/util.c +++ b/lib/libalpm/util.c @@ -582,9 +582,7 @@ const char *_alpm_filecache_setup(void) } /* we didn't find a valid cache directory. use /tmp. */ - i = alpm_option_get_cachedirs(); tmp = alpm_list_add(NULL, strdup("/tmp/")); - FREELIST(i); alpm_option_set_cachedirs(tmp); _alpm_log(PM_LOG_DEBUG, "using cachedir: %s", "/tmp/\n"); _alpm_log(PM_LOG_WARNING, _("couldn't create package cache, using /tmp instead\n")); |