From c53ead308e941baa4524b9ec62d74290ce91503f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 1 Sep 1998 06:03:52 +0000 Subject: need to istall new files --- source/script/installswat.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1