On 28 March 2011 20:27, Dan McGee
This is not cool at all, patches welcome from anyone. :)
dmcgee@clifden ~/projects/pacman (master) $ ./scripts/pacman-key --help mkdir: cannot create directory `/etc/pacman.d/gnupg': Permission denied
Hi all, I'm pretty new here, so I'm not sure how I should send this. I've
read the submitting-patches page but there are lots of things to experiment
with. So I thought I'd just send it as it is now and look more into how to
submit patches tomorrow and maybe ask for some help on irc. This is actually
the output of 'git show'.
also two comments:
a. On line 227 we define a default location for the PACMAN_KEYRING_DIR . On
lines 228-234 we read the command line options and set the
PACMAN_KEYRING_DIR to the one specified by the appropriate switch. On lines
244-246 we read the configuration file and look for GPGDir variable which
sets again the PACMAN_KEYRING_DIR.
I find this behaviour a bit strange. I would expect the command line options
to overide the configuration file settings. Is that a bug or a wanted
behavior ?
b. I like that we use bash, and not restrict ourselves to sh. Is that valid
for devtools too ? Are we restricted to some bash version ? I've seen some
of the devtools scripts and I think bash would make some things easier and
cleaner.
---
commit 4004b8e927705cab0e0d4fefcf7d04cf7630a2e7
Author: Ivan Kanakarakis