~joshuacronemeyer/mimi/main

« back to all changes in this revision

Viewing changes to download-overrides

  • Committer: josh
  • Date: 2008-08-03 18:21:09 UTC
  • Revision ID: josh@xubuntu-vm-20080803182109-cmahd7mlyhdgpg4k
Added a workaround for all the 404's that are spewing from the ubuntu mirror.  Seems 
like one of the machines in the cluster doesn't have a complete mirror or something.  
Fixed a bug in download-overrides where it wasn't getting all the overrides.  Fixed the 
fact that download-packages wasn't downloading everything into main... there was stuff 
in restricted, etc. that wasn't getting indexed.  Added a line to urls_to_download to 
remove dupes from the list.  You get dupes because we are running apt-get multiple 
times, not that it is a big deal, but it should save some seconds or minutes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
WGET="wget --no-verbose --timestamping --force-directories --no-host-directories --directory-prefix ${LOCAL_MIRROR}/../" 
6
6
 
 
7
#TODO this has to be wrong... i dont even know what apt-ftparchive
 
8
#does with multiple entries rewriting the same values/
7
9
our_dists=( "$DIST-updates" "$DIST-security" "$DIST-proposed" )
8
10
components=( extra.main main main.debian-installer restricted \
9
11
            restricted.debian-installer \
20
22
done
21
23
 
22
24
#only $DIST has a installer component for multiverse
23
 
components=( $components multiverse.debian-installer )
 
25
components=( ${components[@]} multiverse.debian-installer )
24
26
mkdir -p ${LOCAL_MIRROR}/indices
25
27
for suffix in ${components[@]}; do
26
28
  echo "Downloading override.$DIST.$suffix"