* Fix support for installing powerpc documentation. It is in a different

directory name in the current 2.2.1 boot-floppies release.  This will
  change.
This commit is contained in:
Matt Porter 1999-11-19 00:17:36 +00:00
parent 2b7ba55cc1
commit 986415a4df
1 changed files with 10 additions and 4 deletions

View File

@ -6,16 +6,22 @@ set -e
BDIR=$TDIR/$CODENAME-$ARCH
if [ "$ARCH" = "powerpc" ]; then
DOCDIR="docs"
else
DOCDIR="documentation"
fi
# Put the install documentation in /install
cd $BDIR/1/dists/$CODENAME/main/disks-$ARCH/current/documentation
mkdir $BDIR/1/install/documentation
cp *.{html,txt} $BDIR/1/install/documentation/
cd $BDIR/1/dists/$CODENAME/main/disks-$ARCH/current/$DOCDIR
mkdir $BDIR/1/install/$DOCDIR
cp *.{html,txt} $BDIR/1/install/$DOCDIR/
ln -sf install*.html $BDIR/1/install/index.html
# Put the boot-disk documentation in /doc too
mkdir $BDIR/1/doc/install
cd $BDIR/1/doc/install
for file in ../../install/documentation/*.{html,txt}
for file in ../../install/$DOCDIR/*.{html,txt}
do
ln -s $file
done