debian-cd-clone/tools/boot/woody/common.sh

19 lines
519 B
Bash

# This file provides some common code that is intented to be called
# by the various boot-<arch> scripts.
# install_languages decompacts the language packs, you should give the path
# to the CD temporary tree.
# This function should be called for all bootable images.
install_languages() {
# Param $1 is the CD directory
if [ -f "$MIRROR/dists/$CODENAME/main/disks-$ARCH/current/xlp.tgz" ]
then
mkdir $1/.xlp
(cd $1/.xlp; \
tar zxf $MIRROR/dists/$CODENAME/main/disks-$ARCH/current/xlp.tgz )
fi
}