summaryrefslogtreecommitdiff
path: root/source3/script/installmsg.sh
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-09-24 15:16:57 +0000
committerGerald Carter <jerry@samba.org>2003-09-24 15:16:57 +0000
commit602ad283b4724acac0a416cd1fd1124ce89ee316 (patch)
tree0a0a995abaa76d3a350d450ddb996ee260ca4f3a /source3/script/installmsg.sh
parent4b10dd945476a93fd9a7d3e047cff7592935ad34 (diff)
downloadsamba-602ad283b4724acac0a416cd1fd1124ce89ee316.tar.gz
samba-602ad283b4724acac0a416cd1fd1124ce89ee316.tar.bz2
samba-602ad283b4724acac0a416cd1fd1124ce89ee316.zip
* sync more files from 3.0
* set version string to "CVS 3.1.0alpha1" (This used to be commit c6a61ffcbd0c95afd94bd33fd832b24bc8209de5)
Diffstat (limited to 'source3/script/installmsg.sh')
-rw-r--r--source3/script/installmsg.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/source3/script/installmsg.sh b/source3/script/installmsg.sh
new file mode 100644
index 0000000000..30ad404aa0
--- /dev/null
+++ b/source3/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