- test -n "$is_quiet" || {
- colorize bold echo -n "vaptget: operating on vserver "
- colorize bold colorize emph echo "$i"
- xtermTitle "vaptget: operating on vserver '$i' [$cnt/${#vservers[@]}]"
- }
-
- if pkgmgmt.isInternal "$i"; then
- $_VSERVER "$i" exec apt-get "$@"
- else
- callInNamespace "$i" \
- "$_VNAMESPACE" --new -- "$_VAPT_GET_WORKER" "$i" "$@"
- fi
- res=$?
-
- test $res -eq 0 -o -n "$is_quiet" || {
- colorize error echo -n $"vapt-get failed on vserver '$i' with errorcode $res"
- echo
- }
-
- test -n "$is_quiet" || echo
-done