index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2005-10-28 12:20:40 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-10-28 12:20:40 +0000 |
commit | 98df67cd183bf75065d3e7a0f892427c4de21143 (patch) | |
tree | a3c11955afd735f9c9be86d23e755ea4e94b3783 /src/pacman/upgrade.c | |
parent | cce9d780c99feae8600249e9a81cb2a24e8589d9 (diff) |
-rw-r--r-- | src/pacman/upgrade.c | 5 |
diff --git a/src/pacman/upgrade.c b/src/pacman/upgrade.c index 9149ee69..283c1a98 100644 --- a/src/pacman/upgrade.c +++ b/src/pacman/upgrade.c @@ -27,14 +27,15 @@ /* pacman */ #include "list.h" #include "add.h" +#include "conf.h" -extern unsigned char pmo_upgrade; +extern pmconfig_t *config; int pacman_upgrade(list_t *targets) { /* this is basically just a remove-then-add process. pacman_add() will */ /* handle it */ - pmo_upgrade = 1; + config->upgrade = 1; return(pacman_add(targets)); } |