If using BOOTDISK= pick up docs from there also

This commit is contained in:
Richard Hirst 2001-11-06 10:23:36 +00:00
parent b625144edc
commit 2c7748a229
2 changed files with 5 additions and 4 deletions

1
debian/changelog vendored
View File

@ -8,6 +8,7 @@ debian-cd (2.2.9) unstable; urgency=low
* Does use the extra override file. Closes: #113794
* Remove the use of unzip in boot-alpha. Nobody should use unzip...
* Update yaboot.conf and ofboot.b to conform to current (1.3.4) yaboot (powerpc).
* If using BOOTDISK= pick up docs from there also (Richard Hirst).
-- Raphael Hertzog <hertzog@debian.org> Sun, 16 Sep 2001 14:57:22 +0200

View File

@ -12,16 +12,16 @@ DIR=$1
DOCDIR=doc
if [ -e $MIRROR/dists/$CODENAME/main/disks-$ARCH/current/$DOCDIR ] ; then
CODENAME1=$CODENAME
if [ -e $BOOTDISKS/current/$DOCDIR ] ; then
DOCS=$BOOTDISKS/current/$DOCDIR
else
echo "Using potato bootdisk documentation"
CODENAME1=potato
DOCS=$MIRROR/dists/potato/main/disks-$ARCH/current/$DOCDIR
fi
# Put the install documentation in /install
cd $MIRROR/dists/$CODENAME1/main/disks-$ARCH/current/$DOCDIR
cd $DOCS
mkdir -p $DIR/install/$DOCDIR
cp -a * $DIR/install/$DOCDIR/
ln -sf install.en.html $DIR/install/$DOCDIR/index.html