[pacman-dev] [PATCH 1/2] makepkg: move pacman calls to a function

Cedric Staniewski cedric at gmx.ca
Fri Nov 6 15:18:56 EST 2009


Xavier wrote:
> On Fri, Nov 6, 2009 at 8:47 PM, Cedric Staniewski <cedric at gmx.ca> wrote:
>> Signed-off-by: Cedric Staniewski <cedric at gmx.ca>
>> ---
>> I'm not sure about that part
>>
>> pmout=$(run_pacman -T "$@")
>>
>> for two reasons. First, we have to work around sudo in run_pacman, and
>> second, most of the pacman wrappers does not support -T or do not return
>> the same codes as pacman does. For this second reason, the following patch
>> would be (currently) useless for the majority of pacman wrapper users.
>>
>>
> 
> This comment makes more sense after reading your second patch :)
> where you make run_pacman use a specified $PACMAN binary
> 
> I think its fine to keep calling pacman directly for -T operation, and
> allow a wrapper for the others.


I think it mostly depends on if the second patch gets applied or not. In any case, I will send patches without run_pacman -T.


More information about the pacman-dev mailing list