summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-12-10 14:10:39 +0000
committerGerald Carter <jerry@samba.org>2003-12-10 14:10:39 +0000
commit1665e8cabab3ee3f74f5fb1805e5593a7aa3cf00 (patch)
tree9ed6e463f8900cfc93dbf811a76165ee08f9b1ff /source3/script
parentc5914a4b552ba0d6bf09305ae539d469847804a4 (diff)
downloadsamba-1665e8cabab3ee3f74f5fb1805e5593a7aa3cf00.tar.gz
samba-1665e8cabab3ee3f74f5fb1805e5593a7aa3cf00.tar.bz2
samba-1665e8cabab3ee3f74f5fb1805e5593a7aa3cf00.zip
patch from TAKEDA yasuma to bypass any missing language files
(This used to be commit c65f63be1eb8bb9350cc7e843c858050c5ce5095)
Diffstat (limited to 'source3/script')
-rwxr-xr-xsource3/script/installswat.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/script/installswat.sh b/source3/script/installswat.sh
index 534c2d761f..027ca35110 100755
--- a/source3/script/installswat.sh
+++ b/source3/script/installswat.sh
@@ -29,6 +29,9 @@ done
for ln in $LANGS; do
for f in $SRCDIR../swat/$ln/images/*.gif; do
+ if [ ! -f $f ] ; then
+ continue
+ fi
FNAME=$SWATDIR/$ln/images/`basename $f`
echo $FNAME
cp $f $FNAME || echo Cannot install $FNAME. Does $USER have privileges?
@@ -38,6 +41,9 @@ for ln in $LANGS; do
# Install html help
for f in $SRCDIR../swat/$ln/help/*.html; do
+ if [ ! -f $f ] ; then
+ continue
+ fi
FNAME=$SWATDIR/$ln/help/`basename $f`
echo $FNAME
if [ "x$BOOKDIR" = "x" ]; then
@@ -54,6 +60,9 @@ for ln in $LANGS; do
# Install "server-side" includes
for f in $SRCDIR../swat/$ln/include/*.html; do
+ if [ ! -f $f ] ; then
+ continue
+ fi
FNAME=$SWATDIR/$ln/include/`basename $f`
echo $FNAME
cp $f $FNAME || echo Cannot install $FNAME. Does $USER have privileges?