rmarquis / pacaur

[unmaintained] An AUR helper that minimizes user interaction
https://bbs.archlinux.org/viewtopic.php?pid=1755144#p1755144
ISC License
796 stars 113 forks source link

Should reinstall really print "old" version as red and "new" one green? #757

Open Det87 opened 7 years ago

Det87 commented 7 years ago
$ pacaur -S google-chrome
[...]
:: google-chrome-61.0.3163.100-1 is up to date -- reinstalling

AUR Packages  (1)  Old Version      New Version     

aur/google-chrome  61.0.3163.100-1 (red)  61.0.3163.100-1 (green)

:: Proceed with installation? [Y/n]

Should maybe both versions be green for clarity?

rmarquis commented 7 years ago

This could be a useful addition, though the internal logic must be rewritten to handle different colors per line. I'll have a look.

rmarquis commented 6 years ago

Could also be yellow, since the reinstall warning is of the same color.