[arch-dev-public] GPL v3

Jan de Groot jan at jgc.homeip.net
Thu Jul 12 18:27:38 EDT 2007


On Fri, 2007-07-13 at 00:20 +0200, Thomas Bächler wrote:
> Dan McGee schrieb:
> 
> >> 2) pacman should have a -Q --license option to view the license of a
> >> package.
> > 
> > pacman -Qi <package> | grep License | awk '{print $3 }'
> > gets the job done for me. Obviously not the prettiest, but this seems
> > like feature bloat to add this.
> 
> No, it should actually show the license itself in less, not just the
> license name.

Extend it with a check for custom, then grab the license file
from /usr/share/licences. Think all of this can be implemented with 5
lines of bash code.





More information about the arch-dev-public mailing list