~ubuntu-branches/ubuntu/oneiric/command-not-found/oneiric

« back to all changes in this revision

Viewing changes to update-from-web.sh

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2011-04-05 14:15:19 UTC
  • Revision ID: james.westby@ubuntu.com-20110405141519-xc24crexiqi6e0q4
Tags: 0.2.41ubuntu1
* updated to current natty
* updated to include ports.ubuntu.com as well in the scan.data
  set (LP: #533031)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
 
3
3
cd UnifiedDataExtractor
4
 
wget http://rookery.ubuntu.com/~mvo/command-not-found/scan.data-latest 
 
4
# rookery has the normal archive
 
5
wget -O scan.1 http://rookery.ubuntu.com/~mvo/command-not-found/scan.data-latest 
 
6
# frei has ports.ubuntu.com
 
7
wget -O scan.2 http://rookery.ubuntu.com/~mvo/command-not-found-ports/scan.data-latest 
 
8
# concat
 
9
cat scan.1 scan.2 > scan.data
 
10
# copy in place
5
11
cp scan.data scan.data-old
6
12
mv scan.data-latest scan.data
7
13
./diff-scan-data scan.data-old scan.data|less