1 Dec
2009
1 Dec
'09
2:28 a.m.
On Thu, Nov 19, 2009 at 10:14 PM, Allan McRae <allan@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