summaryrefslogtreecommitdiffstats
path: root/source/script
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2003-11-12 13:02:25 +0000
committerRafal Szczesniak <mimir@samba.org>2003-11-12 13:02:25 +0000
commitd6857d191ca5aa24f791880e517b0e8db3d587eb (patch)
tree89366eff759ff57cb924660b45a074a37c6816eb /source/script
parentb3e024ce1da7c7e24fcacd8a2964dd2e4562ba39 (diff)
downloadsamba-d6857d191ca5aa24f791880e517b0e8db3d587eb.tar.gz
samba-d6857d191ca5aa24f791880e517b0e8db3d587eb.tar.xz
samba-d6857d191ca5aa24f791880e517b0e8db3d587eb.zip
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
Diffstat (limited to 'source/script')
-rwxr-xr-xsource/script/installswat.sh17
1 files changed, 10 insertions, 7 deletions
diff --git a/source/script/installswat.sh b/source/script/installswat.sh
index be0cdf3eef8..7ac675de103 100755
--- a/source/script/installswat.sh
+++ b/source/script/installswat.sh
@@ -62,14 +62,17 @@ for ln in $LANGS; do
done
-# Install html documentation
+# Install html documentation (if html documentation tree is here)
-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)