diff options
author | Gerald Carter <jerry@samba.org> | 2003-08-22 16:23:56 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-08-22 16:23:56 +0000 |
commit | a1be0fbbb4191cfd9ebc2eaab2f02bda02adf14b (patch) | |
tree | 573b8cc2ed92fd09387dff5048c95b47e4f72434 /source3/script | |
parent | ac5665f2046d9cf079e6eeddd6dc92b720ddc69f (diff) | |
download | samba-a1be0fbbb4191cfd9ebc2eaab2f02bda02adf14b.tar.gz samba-a1be0fbbb4191cfd9ebc2eaab2f02bda02adf14b.tar.bz2 samba-a1be0fbbb4191cfd9ebc2eaab2f02bda02adf14b.zip |
don't complain if the using_samba book is not in the tree
(This used to be commit 20603faf2c6e37b1db139cdbbfd4131cb5c33869)
Diffstat (limited to 'source3/script')
-rwxr-xr-x | source3/script/installswat.sh | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/source3/script/installswat.sh b/source3/script/installswat.sh index d1f8ea191d..300324b077 100755 --- a/source3/script/installswat.sh +++ b/source3/script/installswat.sh @@ -71,13 +71,13 @@ done done -# Install Using Samba book +# Install Using Samba book (but only if it is there) -if [ "x$BOOKDIR" != "x" ]; then +if [ "x$BOOKDIR" != "x" -a -f $SRCDIR../docs/htmldocs/using_samba/toc.html ]; then # Create directories - for d in $BOOKDIR $BOOKDIR/figs $BOOKDIR/gifs; do + for d in $BOOKDIR $BOOKDIR/figs ; do if [ ! -d $d ]; then mkdir $d if [ ! -d $d ]; then @@ -105,15 +105,6 @@ if [ "x$BOOKDIR" != "x" ]; then chmod 0644 $FNAME done - # Gifs - - for f in $SRCDIR../docs/htmldocs/using_samba/gifs/*.gif; do - FNAME=$BOOKDIR/gifs/`basename $f` - echo $FNAME - cp $f $FNAME || echo Cannot install $FNAME. Does $USER have privileges? - chmod 0644 $FNAME - done - fi cat << EOF |