need to istall new files
authorAndrew Tridgell <tridge@samba.org>
Tue, 1 Sep 1998 06:03:52 +0000 (06:03 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 1 Sep 1998 06:03:52 +0000 (06:03 +0000)
(This used to be commit c53ead308e941baa4524b9ec62d74290ce91503f)

source3/script/installswat.sh

index 93f534fd726b0bed264e841968b93b5df9071653..6bd11bcb99d6e849dd78ac7e7957c4a3b8f958c3 100755 (executable)
@@ -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