~ubuntu-branches/ubuntu/dapper/debootstrap/dapper

« back to all changes in this revision

Viewing changes to functions

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2006-02-08 10:26:24 UTC
  • Revision ID: package-import@ubuntu.com-20060208102624-r913hv94mr91d8c9
* Remove gcc-4.0-base from buildd base, since it's already required.
* Remove libdb4.2 from buildd base; perl now uses libdb4.3 which is
  required.
* Iterate over all components in get_debs (closes: Malone #30804).

Show diffs side-by-side

added added

removed removed

Lines of Context:
667
667
 
668
668
get_debs () {
669
669
  local m1=${MIRRORS%% *}
670
 
  local c="${COMPONENTS%% *}"
671
 
  local path="dists/$SUITE/$c/binary-$ARCH/Packages"
672
 
  local pkgdest="$TARGET/$($DLDEST pkg $SUITE $c $ARCH $m1 $path)"
673
670
  local field="$1"
674
671
  shift
675
 
  echo $("$PKGDETAILS" FIELD "$field" $m1 "$pkgdest" "$@" | sed 's/ .*//')
 
672
  echo $(for c in $COMPONENTS; do
 
673
    local path="dists/$SUITE/$c/binary-$ARCH/Packages"
 
674
    local pkgdest="$TARGET/$($DLDEST pkg $SUITE $c $ARCH $m1 $path)"
 
675
    "$PKGDETAILS" FIELD "$field" $m1 "$pkgdest" "$@"
 
676
  done | sed 's/ .*//')
676
677
}
677
678
 
678
679
################################################################ extraction