summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource3/script/installswat.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/script/installswat.sh b/source3/script/installswat.sh
index 93f534fd72..6bd11bcb99 100755
--- a/source3/script/installswat.sh
+++ b/source3/script/installswat.sh
@@ -8,7 +8,7 @@ echo Installing SWAT in $SWATDIR
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
@@ -39,6 +39,13 @@ for f in $SRCDIR../swat/help/*.html; do
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