From a40625bc9dc82794c9c8ca40a6095046b95a245e Mon Sep 17 00:00:00 2001 From: Rafal Szczesniak Date: Wed, 12 Nov 2003 21:47:25 +0000 Subject: > Omit html documentation tree because it has been moved to the separate > module. Install though, in case one recreates the tree as it was before. > > > rafal Same as in SAMBA_3_0 source tree. rafal (This used to be commit af972c76158069efe3817a4e6dce4826d883edf1) --- source3/script/installswat.sh | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'source3/script') diff --git a/source3/script/installswat.sh b/source3/script/installswat.sh index be0cdf3eef..534c2d761f 100755 --- a/source3/script/installswat.sh +++ b/source3/script/installswat.sh @@ -64,12 +64,15 @@ done # Install html documentation -for f in $SRCDIR../docs/htmldocs/*.html; do - FNAME=$SWATDIR/help/`basename $f` - echo $FNAME - cp $f $FNAME || echo Cannot install $FNAME. Does $USER have privileges? - chmod 0644 $FNAME -done +if [ -d $SRCDIR../docs/htmldocs/ ]; then + + for f in $SRCDIR../docs/htmldocs/*.html; do + FNAME=$SWATDIR/help/`basename $f` + echo $FNAME + cp $f $FNAME || echo Cannot install $FNAME. Does $USER have privileges? + chmod 0644 $FNAME + done +fi # Install Using Samba book (but only if it is there) -- cgit