~mvo/update-manager/not-automatic

« back to all changes in this revision

Viewing changes to DistUpgrade/cdromupgrade

  • Committer: Michael Vogt
  • Date: 2009-02-16 12:09:28 UTC
  • Revision ID: michael.vogt@ubuntu.com-20090216120928-xrcylim4xrcvo8bq
make backports lower priority than distro updates, ensure that the autoamtic dependency is higher version than the regular one

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
#          (e.g. /cdrom/cdromugprade)
11
11
 
12
12
# the codename is AUTO-GENERATED from the build-host relase codename
13
 
CODENAME=intrepid
14
 
UPGRADER_DIR=dists/stable/main/dist-upgrader/binary-all/
 
13
CODENAME=jaunty
 
14
UPGRADER_DIR=dists/$CODENAME/main/dist-upgrader/binary-all/
15
15
 
16
16
cddirname="${0%\/*}"
17
17
fullpath="$cddirname/$UPGRADER_DIR"
18
18
 
19
 
# extrace the tar to a TMPDIR and run it from there
 
19
# extract the tar to a TMPDIR and run it from there
20
20
if [ ! -f "$fullpath/$CODENAME.tar.gz" ]; then
21
21
    echo "Could not find the upgrade application archive, exiting"
22
22
    exit 1