[pacman-dev] [PATCH] New Rg option

Nagy Gabor ngaba at bibl.u-szeged.hu
Tue Sep 18 08:00:24 EDT 2007


> +1 on making -g work both for -S and -R.
> 
> However, why don't we do the following for backwards compatability:
> 1. pacman -S grppkg: look for a package named grppkg, then group
> 2. pacman -Sg grppkg: look for a group named grppkg (and ignore a
> package if there is one)
> 3. pacman -R grppkg: only remove a package named grppkg (I don't think
> group removal is used enough to warrant keeping backwards compat)
> 4. pacman -Rg grppkg: remove a group named grppkg
IMHO that would be a bit confusing. And differentiate between group and package
install would help to keep the code clean.
 
> This gives us a small issue when it comes to the current behavior of
> -Sg, however, that I have yet to figure out. Anyone know a good way to
> somehow keep the ability to list the contents of current groups and
> implement the above? Patches welcome. :)
> 

-Sig and -Sigg?

Bye, ngaba

----------------------------------------------------
SZTE Egyetemi Könyvtár - http://www.bibl.u-szeged.hu
This mail sent through IMP: http://horde.org/imp/





More information about the pacman-dev mailing list