Skip to content

Commit 8724261

Browse files
committed
Try to fix -Qm output
See archlinuxfr/yaourt#116
1 parent d25675c commit 8724261

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ void color_print_package (void * p, printpkgfn f)
705705
* C_VER otherwise
706706
*/
707707
lver = alpm_local_pkg_get_str (info, 'l');
708-
info = f(p, 'V');
708+
info = f(p, (config.aur_upgrades) ? 'V' : 'v');
709709
ver = STRDUP (info);
710710
info = (aur) ? f(p, 'm') : NULL;
711711
if (config.aur_foreign)

0 commit comments

Comments
 (0)