~joshuacronemeyer/mimi/main

« back to all changes in this revision

Viewing changes to urls_to_download

  • Committer: josh
  • Date: 2008-07-24 14:25:06 UTC
  • mfrom: (6.1.2 mimi)
  • Revision ID: josh@xubuntu-vm-20080724142506-0nqte436p6n2359w
Push local changes.  Fixing the bug where apt failed silently and the problem with the improperly structured 
repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
  packages=`sed -n 's/^[^#]/&/p' < $tasks/$seedfile`
34
34
  #use apt on a per seed basis to avoid conflicts (installer packages 
35
35
  #occasionally conflict with normal ones).  
36
 
  #TODO If apt chokes on any of the seeds it fails silently.  Gotta fix that bug!
37
 
  `$APT_GET --print-uris --reinstall install $packages | sed -n "s/^'\|' .*$//g p" >> $url_list`
 
36
  apt_output=`$APT_GET --print-uris --reinstall install $packages`
 
37
  echo $apt_output | grep -o "http[^']*" >> $url_list
38
38
done