index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-06-09 16:00:55 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-13 19:32:59 -0500 |
commit | fb3ad7f8823dd3300528b44427d40e17594b1400 (patch) | |
tree | 8932518e67553383a178d23fcdd07beb24dc801e /src/pacman/upgrade.c | |
parent | 01ad3faee934aa805237bf5405e7c74dc1482a17 (diff) |
-rw-r--r-- | src/pacman/upgrade.c | 2 |
diff --git a/src/pacman/upgrade.c b/src/pacman/upgrade.c index ddb8a2e8..fe49d882 100644 --- a/src/pacman/upgrade.c +++ b/src/pacman/upgrade.c @@ -82,7 +82,7 @@ int pacman_upgrade(alpm_list_t *targets) trans_release(); return 1; } - if(alpm_add_pkg(pkg) == -1) { + if(alpm_add_pkg(config->handle, pkg) == -1) { pm_fprintf(stderr, PM_LOG_ERROR, "'%s': %s\n", targ, alpm_strerrorlast()); alpm_pkg_free(pkg); |