diff options
author | Rafal Szczesniak <mimir@samba.org> | 2003-11-12 13:02:25 +0000 |
---|---|---|
committer | Rafal Szczesniak <mimir@samba.org> | 2003-11-12 13:02:25 +0000 |
commit | d6857d191ca5aa24f791880e517b0e8db3d587eb (patch) | |
tree | 89366eff759ff57cb924660b45a074a37c6816eb /source/script | |
parent | b3e024ce1da7c7e24fcacd8a2964dd2e4562ba39 (diff) | |
download | samba-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-x | source/script/installswat.sh | 17 |
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) |