1--- samba-3.0.1/source/script/installswat.sh.orig Fri Dec 19 14:49:40 2003 2+++ samba-3.0.1/source/script/installswat.sh Fri Dec 19 14:48:49 2003 3@@ -9,7 +9,7 @@ 4 echo Installing the Samba Web Administration Tool 5 6 LANGS=". `cd $SRCDIR../swat/; /bin/echo lang/??`" 7-echo Installing langs are `cd $SRCDIR../swat/lang/; /bin/echo ??` 8+echo Installing the following additional langs: `cd $SRCDIR../swat/lang/; /bin/echo ??` 9 10 for ln in $LANGS; do 11 SWATLANGDIR=$SWATDIR/$ln 12@@ -23,11 +23,8 @@ 13 fi 14 fi 15 done 16-done 17- 18-# Install images 19-for ln in $LANGS; do 20 21+ # Install images 22 for f in $SRCDIR../swat/$ln/images/*.gif; do 23 if [ ! -f $f ] ; then 24 continue 25@@ -38,8 +35,7 @@ 26 chmod 0644 $FNAME 27 done 28 29- # Install html help 30- 31+ # Install html hel 32 for f in $SRCDIR../swat/$ln/help/*.html; do 33 if [ ! -f $f ] ; then 34 continue 35@@ -58,7 +54,6 @@ 36 done 37 38 # Install "server-side" includes 39- 40 for f in $SRCDIR../swat/$ln/include/*.html; do 41 if [ ! -f $f ] ; then 42 continue 43@@ -78,7 +73,7 @@ 44 for f in $SRCDIR../docs/htmldocs/*.html; do 45 FNAME=$SWATDIR/help/`basename $f` 46 echo $FNAME 47- cp $f $FNAME || echo Cannot install $FNAME. Does $USER have privileges? 48+ ln -s ../../../doc/samba-doc/htmldocs/`basename $f` $FNAME || echo Cannot install $FNAME. Does $USER have privileges? 49 chmod 0644 $FNAME 50 done 51 fi 52