summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcvs2svn Import User <samba-bugs@samba.org>2003-09-24 15:16:59 +0000
committercvs2svn Import User <samba-bugs@samba.org>2003-09-24 15:16:59 +0000
commit76659f44f26ed6a319ad05b72b1b6de0a3147cda (patch)
treedb1445ec40fa887f7e13701e70acfff757fdd8e0
parent94daf300b575f713cb09ba79bf6b36fa1cf9b446 (diff)
parentc6a61ffcbd0c95afd94bd33fd832b24bc8209de5 (diff)
downloadsamba-76659f44f26ed6a319ad05b72b1b6de0a3147cda.tar.gz
This commit was manufactured by cvs2svn to create branch
'SAMBA_3_0_RELEASE'.
-rw-r--r--source/script/installmsg.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/source/script/installmsg.sh b/source/script/installmsg.sh
new file mode 100644
index 00000000000..30ad404aa0d
--- /dev/null
+++ b/source/script/installmsg.sh
@@ -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