From 59efa068bd3d2f920a40b3333d09a22beb8dedb3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 15 Oct 2001 05:15:31 +0000 Subject: always install swat language files (This used to be commit f283011c284844ef1bdd1f1fc718263904ef5797) --- source3/script/installswat.sh | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'source3/script') diff --git a/source3/script/installswat.sh b/source3/script/installswat.sh index fce4406b832..c66604cdb84 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 -- cgit