[pacman-dev] [PATCH 2/2] makepkg: allow to specify an alternative pacman command
Dan McGee
dpmcgee at gmail.com
Mon Nov 30 21:28:26 EST 2009
On Thu, Nov 19, 2009 at 10:14 PM, Allan McRae <allan at archlinux.org> wrote:
>> @@ -350,7 +350,7 @@ check_deps() {
>> if (( ret == 127 )); then #unresolved deps
>> echo "$pmout"
>> elif (( ret )); then
>> - error "$(gettext "Pacman returned a fatal error (%i):
>> %s")" "$ret" "$pmout"
>> + error "$(gettext "%s returned a fatal error (%i): %s")"
>> "${PACMAN##*/}" "$ret" "$pmout"
>
> Should we also strip any flags provided in the PACMAN variable? e.g. I
> could set PACMAN="pacman -v" for verbose output. I guess some wrappers
> might have flags that would be useful to specify.
I would say no to this; if a person wants flags then we shouldn't mess
with them.
-Dan
More information about the pacman-dev
mailing list