index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Bryan Ischo <bryan@ischo.com> | 2009-02-22 23:25:32 +1300 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-02-23 20:37:14 -0600 |
commit | f57f8d33862050acc8d131710c100ba47877e675 (patch) | |
tree | 3fd183a6a7d9ed8756a2b30ebe1522ea34ba6edd /src | |
parent | 02685504012a4880e599b15f1060f6bd0bf48797 (diff) |
-rw-r--r-- | src/pacman/callback.c | 11 |
diff --git a/src/pacman/callback.c b/src/pacman/callback.c index 10e26188..e1cad20f 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -248,15 +248,8 @@ void cb_trans_conv(pmtransconv_t event, void *data1, void *data2, { switch(event) { case PM_TRANS_CONV_INSTALL_IGNOREPKG: - if(data2) { - /* TODO we take this route based on data2 being not null? WTF */ - *response = yesno(_(":: %s requires installing %s from IgnorePkg/IgnoreGroup. Install anyway?"), - alpm_pkg_get_name(data2), - alpm_pkg_get_name(data1)); - } else { - *response = yesno(_(":: %s is in IgnorePkg/IgnoreGroup. Install anyway?"), - alpm_pkg_get_name(data1)); - } + *response = yesno(_(":: %s is in IgnorePkg/IgnoreGroup. Install anyway?"), + alpm_pkg_get_name(data1)); break; case PM_TRANS_CONV_REPLACE_PKG: *response = yesno(_(":: Replace %s with %s/%s?"), |