diff options
author | Gerald Carter <jerry@samba.org> | 2003-12-10 14:10:26 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-12-10 14:10:26 +0000 |
commit | 5c8b533638f5a438928d5e4d3d0122d82762cdf3 (patch) | |
tree | 87b2c1a1524ffe6c34369c4f0ad8084ab3588a72 /source3 | |
parent | 8af211b774ccff811df5690385df6031ab7516f6 (diff) | |
download | samba-5c8b533638f5a438928d5e4d3d0122d82762cdf3.tar.gz samba-5c8b533638f5a438928d5e4d3d0122d82762cdf3.tar.bz2 samba-5c8b533638f5a438928d5e4d3d0122d82762cdf3.zip |
patch from TAKEDA yasuma to bypass any missing language files
(This used to be commit a3b0cc9f5b230cc4b9a017c9566b2ef83fb54030)
Diffstat (limited to 'source3')
-rwxr-xr-x | source3/script/installswat.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/script/installswat.sh b/source3/script/installswat.sh index 7ac675de10..c0285bda55 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? |