[pacman-dev] [PATCH 1/2] makepkg: move pacman calls to a function
Cedric Staniewski
cedric at gmx.ca
Thu Nov 12 09:13:11 EST 2009
Xavier wrote:
> On Thu, Nov 12, 2009 at 2:51 PM, Dan McGee <dpmcgee at gmail.com> wrote:
>> Doesn't look undocumented to me:
>> -T, --deptest
>> Check dependencies; this is useful in scripts such as makepkg to
>> check installed packages. This operation will check each dependency
>> specified and return a list of those which are not currently
>> satisfied on the system. This operation accepts no other options.
>> Example usage: pacman -T qt "bash>=3.2".
>>
>>
>
> Ahah ok. Well I am still not sure what a wrapper could add to that
> functionality, besides breaking it. But if everyone is against me,
> then I will shut up :) It is not a big deal.
It would be possible to get rid of -T and depend on vercmp for the
installed dependency check. I am not sure if this is any better though
(probably rather worse).
More information about the pacman-dev
mailing list