On 27/07/10 06:33, Daenyth Blank wrote:
On Mon, Jul 26, 2010 at 16:26, Denis A. Altoé Falqueto email@example.com wrote:
The script pacman-key will manage pacman's keyring. It imports, exports, fetches from keyservers, helps in the process of trusting and updates the trust database.
Signed-off-by: Denis A. Altoé Falquetodenisfalqueto@gmail.com
I'd have the script use getopt from the start rather than a manual loop over the args. You can see makepkg for an example.
Just to be clear, makepkg does not use getopt due to portability issue. It uses its own bash implementation instead. Also, repo-add uses a case statement.
Not saying which is the best way forward in this case, but something to think about.