2 #fist version March 1998, Andrew Tridgell
7 echo Installing SWAT
in $SWATDIR
9 echo Installing the Samba Web Administration Tool
11 for d
in $SWATDIR $SWATDIR/help $SWATDIR/images
$SWATDIR/include
; do
15 echo Failed to
make directory
$d, does
$USER have privileges?
21 for f
in $SRCDIR..
/swat
/images
/*.gif
; do
22 FNAME
=$SWATDIR/images
/`basename $f`
24 cp $f $FNAME ||
echo Cannot
install $FNAME. Does
$USER have privileges?
28 for f
in $SRCDIR..
/swat
/help
/*.html
; do
29 FNAME
=$SWATDIR/help
/`basename $f`
31 cp $f $FNAME ||
echo Cannot
install $FNAME. Does
$USER have privileges?
35 for f
in $SRCDIR..
/docs
/htmldocs
/*.html
; do
36 FNAME
=$SWATDIR/help
/`basename $f`
38 cp $f $FNAME ||
echo Cannot
install $FNAME. Does
$USER have privileges?
42 for f
in $SRCDIR..
/swat
/include
/*.html
; do
43 FNAME
=$SWATDIR/include
/`basename $f`
45 cp $f $FNAME ||
echo Cannot
install $FNAME. Does
$USER have privileges?
50 ======================================================================
51 The SWAT files have been installed. Remember to read the swat/README
52 for information on enabling and using SWAT
53 ======================================================================