summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorConnor Behan <connor.behan@gmail.com>2013-04-18 01:40:06 -0700
committerAllan McRae <allan@archlinux.org>2013-04-24 13:47:19 +1000
commitb8c84479712f021735466d9882bf8ebbf1c558e4 (patch)
tree8283a6cd070f48b49a2e4a54541aa7b11ff90e81 /src
parentee3b70c4a9f3564a6ec4bf9823189e217ab66dc9 (diff)
downloadpacman-b8c84479712f021735466d9882bf8ebbf1c558e4.tar.xz
Remove ALPM_QUESTION_LOCAL_NEWER
Remove a question that hasn't been used since the 3.0 days. To prevent us from having an ugly enum of questions that is missing a bitmask, this changes the API of the hidden --ask option. Signed-off-by: Connor Behan <connor.behan@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/callback.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c
index 16d66df7..a743adc3 100644
--- a/src/pacman/callback.c
+++ b/src/pacman/callback.c
@@ -382,15 +382,6 @@ void cb_question(alpm_question_t event, void *data1, void *data2,
*response = select_question(count);
}
break;
- case ALPM_QUESTION_LOCAL_NEWER:
- if(!config->op_s_downloadonly) {
- *response = yesno(_("%s-%s: local version is newer. Upgrade anyway?"),
- alpm_pkg_get_name(data1),
- alpm_pkg_get_version(data1));
- } else {
- *response = 1;
- }
- break;
case ALPM_QUESTION_CORRUPTED_PKG:
*response = yesno(_("File %s is corrupted (%s).\n"
"Do you want to delete it?"),