Welcome to CRUX bug tracking.
FS#593 - prt-get: isatty(1) check for quickdep to increase usability
Attached to Project:
CRUX
Opened by Anonymous Submitter - Sunday, 23 May 2010, 16:28 GMT+2
Last edited by Juergen Daubert (jue) - Saturday, 04 December 2010, 10:34 GMT+2
Opened by Anonymous Submitter - Sunday, 23 May 2010, 16:28 GMT+2
Last edited by Juergen Daubert (jue) - Saturday, 04 December 2010, 10:34 GMT+2
|
DetailsI added following functionality to prt-get quickdep:
when stdout is a tty, behave as it is right now, otherwise print every quick dependency on a line of it's own since it makes dependency exclusion easier, for instance: prt-get install `prt-get quickdep thepackage | grep -v ^gnome-` if you don't want to install dependencies starting with gnome. This is in my opionion closer to the KISS way of crux package management utilities. the tty stuff was done since 1. grep operates on lines and thus can't operate if the seperator is " " 2. for packages with many dependencies, many lines look ugly, thus using " " in the tty case increases readability. git diff attached. |
This task depends upon
prt-get.diff