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