diff options
author | Nagy Gabor <ngaba@bibl.u-szeged.hu> | 2009-07-27 14:21:26 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-09-08 21:54:51 -0500 |
commit | 902dfe5900c89461e76f03a3429a867cc93fd418 (patch) | |
tree | 4cbf0b63e740b942dc7c777150011af509bd6a49 /src | |
parent | f53d9bab0ef28f2417abb10d1dff4867bf06b8ea (diff) | |
download | pacman-902dfe5900c89461e76f03a3429a867cc93fd418.tar.xz |
Change Y/n to y/N with REMOVE_PKGS (remove_unresolvable) callback
The main reason for this change is that scripts could not catch the removed
targets with -S --noconfirm (the return value was 0). So the effect of a
pacman command may have differed from the expected one. Moreover, for my
taste the default no answer is better (I wanted to install the specified
targets, not a subset of them).
I had to change some pactest files as well, because now the default behavior
is not to remove unresolvable targets. In fact, the only pactest file that
tested this feature was ignore005.py.
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/callback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c index e83a97d2..8b611f1a 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -275,7 +275,7 @@ void cb_trans_conv(pmtransconv_t event, void *data1, void *data2, printf(_(":: the following package(s) cannot be upgraded due to " "unresolvable dependencies:\n")); list_display(" ", namelist); - *response = yesno(_("\nDo you want to skip the above " + *response = noyes(_("\nDo you want to skip the above " "package(s) for this upgrade?")); alpm_list_free(namelist); } |