echo Installing the Samba Web Admisistration Tool
-for d in $SWATDIR $SWATDIR/help $SWATDIR/images; do
+for d in $SWATDIR $SWATDIR/help $SWATDIR/images $SWATDIR/include; do
if [ ! -d $d ]; then
mkdir $d
if [ ! -d $d ]; then
chmod 0644 $FNAME
done
+for f in $SRCDIR../swat/include/*.html; do
+ FNAME=$SWATDIR/include/`basename $f`
+ echo $FNAME
+ cp $f $FNAME || echo Cannot install $FNAME. Does $USER have privileges?
+ chmod 0644 $FNAME
+done
+
cat << EOF
======================================================================
The SWAT files have been installed. Remember to read the swat/README