- Link the d-i INSTALLATION-HOWTO into doc/, if it exists.

This commit is contained in:
Joey Hess 2003-12-24 02:49:26 +00:00
parent b42da8f6c7
commit df22bb10a8
1 changed files with 6 additions and 3 deletions

View File

@ -15,21 +15,24 @@ else
DOCS=$MIRROR/dists/woody/main/disks-$ARCH/current/$DOCDIR
fi
# Put the install documentation in /install
cd $DOCS
mkdir -p $DIR/install/$DOCDIR
if cp -a * $DIR/install/$DOCDIR/ ; then
ln -f $DIR/install/$DOCDIR/install.en.html $DIR/install/$DOCDIR/index.html
else
echo "ERROR: Unable to copy boot-floppies documentation to CD."
echo "ERROR: Unable to copy installer documentation to CD."
fi
# Put the boot-disk documentation in /doc too
# Put the installer documentation in /doc too
mkdir -p $DIR/doc/install
cd $DIR/doc/install
for file in ../../install/$DOCDIR/*.{html,txt}
do
ln $file
done
if [ -e ../../install/$DOCDIR/INSTALLATION-HOWTO ]; then
ln ../../install/$DOCDIR/INSTALLATION-HOWTO
fi
# FIXME: why does it have to be in two places?