~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-19 13:07:19 UTC
  • Revision ID: james.westby@ubuntu.com-20110419130719-o13bd1mav2i12x7j
Tags: 0.2.41ubuntu2
updated for final natty

Show diffs side-by-side

added added

removed removed

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