1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

Fix bug #456 for 3.0.0 release.

More work on SWAT i18n support to appear in later releases.
(This used to be commit c326774905)
This commit is contained in:
Tim Potter 2003-09-24 01:27:39 +00:00
parent 6d3af0eff0
commit a6b3104042
2 changed files with 27 additions and 1 deletions

View File

@ -1205,7 +1205,10 @@ installscripts: installdirs
installdat: installdirs
@$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR)$(LIBDIR) $(srcdir)
installswat: installdirs
installmsg: installdirs
@$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR)$(LIBDIR) $(srcdir)
installswat: installdirs installmsg
@$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR)$(SWATDIR) $(srcdir)
installclientlib: installdirs libsmbclient

View File

@ -0,0 +1,23 @@
#!/bin/sh
# first version (Sept 2003) written by Shiro Yamada <shiro@miraclelinux.com>
# based on the first verion (March 2002) of installdat.sh written by Herb Lewis
MSGDIR=$1
SRCDIR=$2/
echo Installing msg files in $MSGDIR
for f in $SRCDIR/po/*.msg; do
FNAME=$MSGDIR/`basename $f`
echo $FNAME
cp $f $FNAME || echo Cannot install $FNAME. Does $USER have privileges?
chmod 0644 $FNAME
done
cat << EOF
======================================================================
The msg files have been installed.
======================================================================
EOF
exit 0