summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-10-21 01:31:14 +0200
committerJudd Vinet <judd@archlinux.org>2005-10-21 01:31:14 +0200
commitff50305a02557c1aa423fd43a76bdc13424ae08e (patch)
tree253595946fda0477c21bf3182c063d14eb9cf55d /src
parent6851ce24abf07ac8bfe1406944351608ab0cfb1b (diff)
downloadpacman-ff50305a02557c1aa423fd43a76bdc13424ae08e.tar.gz
pacman-ff50305a02557c1aa423fd43a76bdc13424ae08e.tar.xz
improved the Replace question format a bit
Diffstat (limited to 'src')
-rw-r--r--src/pacman/trans.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pacman/trans.c b/src/pacman/trans.c
index 872ce775..3f6f6bea 100644
--- a/src/pacman/trans.c
+++ b/src/pacman/trans.c
@@ -106,10 +106,10 @@ void cb_trans_conv(unsigned char event, void *data1, void *data2, void *data3, i
*response = yesno(str);
break;
case PM_TRANS_CONV_REPLACE_PKG:
- snprintf(str, LOG_STR_LEN, ":: Replace %s with %s from \"%s\"? [Y/n] ",
+ snprintf(str, LOG_STR_LEN, ":: Replace %s with %s/%s? [Y/n] ",
(char *)alpm_pkg_getinfo(data1, PM_PKG_NAME),
- (char *)alpm_pkg_getinfo(data2, PM_PKG_NAME),
- (char *)data3);
+ (char *)data3,
+ (char *)alpm_pkg_getinfo(data2, PM_PKG_NAME));
*response = yesno(str);
break;
case PM_TRANS_CONV_LOCAL_NEWER: