summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-09-01 06:03:52 +0000
committerAndrew Tridgell <tridge@samba.org>1998-09-01 06:03:52 +0000
commitc53ead308e941baa4524b9ec62d74290ce91503f (patch)
tree337f3eee8742cec78bfc25c38f50ab4b660f1eed
parentd35c6e80988d96049d4624b47ae9ea015edafc59 (diff)
downloadsamba-c53ead308e941baa4524b9ec62d74290ce91503f.tar.gz
need to istall new files
-rwxr-xr-xsource/script/installswat.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/script/installswat.sh b/source/script/installswat.sh
index 93f534fd726..6bd11bcb99d 100755
--- a/source/script/installswat.sh
+++ b/source/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