index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Chantry Xavier <shiningxc@gmail.com> | 2007-11-22 21:01:45 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-12-02 11:14:13 -0600 |
commit | 250331a636699561e1239e341f30f2adfebbcb43 (patch) | |
tree | 0a8ebd84f468ac9f9628d1257ed68d28713f3181 /src/pacman/callback.c | |
parent | c15f7710deafe1b4fe9411381bd07cd0dbe8da48 (diff) |
-rw-r--r-- | src/pacman/callback.c | 11 |
diff --git a/src/pacman/callback.c b/src/pacman/callback.c index 232ca4cd..dd469ecc 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -305,7 +305,6 @@ void cb_trans_conv(pmtransconv_t event, void *data1, void *data2, *response = yesno(str); break; case PM_TRANS_CONV_LOCAL_NEWER: - if(!config->op_s_downloadonly) { snprintf(str, LOG_STR_LEN, _(":: %s-%s: local version is newer. Upgrade anyway? [Y/n] "), alpm_pkg_get_name(data1), @@ -315,16 +314,6 @@ void cb_trans_conv(pmtransconv_t event, void *data1, void *data2, *response = 1; } break; - case PM_TRANS_CONV_LOCAL_UPTODATE: - if(!config->op_s_downloadonly) { - snprintf(str, LOG_STR_LEN, _(":: %s-%s: local version is up to date. Upgrade anyway? [Y/n] "), - alpm_pkg_get_name(data1), - alpm_pkg_get_version(data1)); - *response = yesno(str); - } else { - *response = 1; - } - break; case PM_TRANS_CONV_CORRUPTED_PKG: if(!config->noconfirm) { snprintf(str, LOG_STR_LEN, _(":: File %s is corrupted. Do you want to delete it? [Y/n] "), |