summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-08 02:49:09 -0500
committerDan McGee <dan@archlinux.org>2011-06-08 02:49:09 -0500
commitdfaeb6bb2ca8311ac418a16c30006eb7d0534d71 (patch)
tree227f127eb1a35e20689b1b60b4dbe5255c7e9a7f /src
parent11ba7a0e8a253bff53778688ee174f42c1513738 (diff)
parent87072ff63907ce6040be7e59b9b07fd891a8254a (diff)
Merge remote-tracking branch 'allan/working'
Diffstat (limited to 'src')
-rw-r--r--src/pacman/callback.c8
1 files changed, 6 insertions, 2 deletions
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?"),