index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-06-08 02:49:09 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-08 02:49:09 -0500 |
commit | dfaeb6bb2ca8311ac418a16c30006eb7d0534d71 (patch) | |
tree | 227f127eb1a35e20689b1b60b4dbe5255c7e9a7f /src | |
parent | 11ba7a0e8a253bff53778688ee174f42c1513738 (diff) | |
parent | 87072ff63907ce6040be7e59b9b07fd891a8254a (diff) |
-rw-r--r-- | src/pacman/callback.c | 8 |
diff --git a/src/pacman/callback.c b/src/pacman/callback.c index f1c314f0..4a025742 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -256,8 +256,12 @@ void cb_trans_conv(pmtransconv_t event, void *data1, void *data2, { switch(event) { case PM_TRANS_CONV_INSTALL_IGNOREPKG: - *response = yesno(_(":: %s is in IgnorePkg/IgnoreGroup. Install anyway?"), - alpm_pkg_get_name(data1)); + if(!config->op_s_downloadonly) { + *response = yesno(_(":: %s is in IgnorePkg/IgnoreGroup. Install anyway?"), + alpm_pkg_get_name(data1)); + } else { + *response = 1; + } break; case PM_TRANS_CONV_REPLACE_PKG: *response = yesno(_(":: Replace %s with %s/%s?"), |