summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-10-15 05:15:31 +0000
committerAndrew Tridgell <tridge@samba.org>2001-10-15 05:15:31 +0000
commit59efa068bd3d2f920a40b3333d09a22beb8dedb3 (patch)
tree5cec2dc385351979ba8940c098867cb0b3ecd245
parent30bcb1151d8059d6520b698b1abf7a1b881e856a (diff)
downloadsamba-59efa068bd3d2f920a40b3333d09a22beb8dedb3.tar.gz
samba-59efa068bd3d2f920a40b3333d09a22beb8dedb3.tar.bz2
samba-59efa068bd3d2f920a40b3333d09a22beb8dedb3.zip
always install swat language files
(This used to be commit f283011c284844ef1bdd1f1fc718263904ef5797)
-rwxr-xr-xsource3/script/installswat.sh18
1 files changed, 5 insertions, 13 deletions
diff --git a/source3/script/installswat.sh b/source3/script/installswat.sh
index fce4406b83..c66604cdb8 100755
--- a/source3/script/installswat.sh
+++ b/source3/script/installswat.sh
@@ -4,23 +4,16 @@
SWATDIR=$1
SRCDIR=$2/
BOOKDIR=$SWATDIR/using_samba
-IS_I18N=$3
echo Installing SWAT in $SWATDIR
echo Installing the Samba Web Administration Tool
-if [ X$IS_I18N = Xyes ]; then
- LANGS=". `cd $SRCDIR../swat/; /bin/echo lang/??`"
- echo Installing langs are `cd $SRCDIR../swat/lang/; /bin/echo ??`
-else
- LANGS=.
-fi
+LANGS=". `cd $SRCDIR../swat/; /bin/echo lang/??`"
+echo Installing langs are `cd $SRCDIR../swat/lang/; /bin/echo ??`
for ln in $LANGS; do
-
-SWATLANGDIR=$SWATDIR/$ln
-
-for d in $SWATLANGDIR $SWATLANGDIR/help $SWATLANGDIR/images \
+ SWATLANGDIR=$SWATDIR/$ln
+ for d in $SWATLANGDIR $SWATLANGDIR/help $SWATLANGDIR/images \
$SWATLANGDIR/include; do
if [ ! -d $d ]; then
mkdir -p $d
@@ -29,8 +22,7 @@ for d in $SWATLANGDIR $SWATLANGDIR/help $SWATLANGDIR/images \
exit 1
fi
fi
-done
-
+ done
done
# Install images