~cyphermox/debian-cd/server-live

« back to all changes in this revision

Viewing changes to tools/boot/etch/common.sh

  • Committer: Colin Watson
  • Date: 2005-11-06 09:34:49 UTC
  • mfrom: (unknown (missing))
  • Revision ID: Arch-1:colin.watson@canonical.com--2005%debian-cd--ubuntu--0--patch-205
merge from upstream up to patch-771
Patches applied:

 * debian-cd@arch.ubuntu.com/debian-cd--MAIN--0--patch-771
   Add etch stuff. Mostly copied unchanged from sarge, wit...

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
# This file provides some common code that is intented to be called
 
3
# by the various boot-<arch> scripts.
 
4
 
 
5
 
 
6
# install_languages decompacts the language packs, you should give the path
 
7
# to the CD temporary tree.
 
8
# This function should be called for all bootable images.
 
9
install_languages() {
 
10
    # Param $1 is the CD directory
 
11
    if [ -f "$MIRROR/dists/$DI_CODENAME/main/disks-$ARCH/current/xlp.tgz" ]
 
12
    then
 
13
        mkdir $1/.xlp
 
14
        (cd $1/.xlp; \
 
15
        tar zxf $MIRROR/dists/$DI_CODENAME/main/disks-$ARCH/current/xlp.tgz )
 
16
    fi
 
17
}
 
18