1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-14 01:57:53 +03:00
samba-mirror/source/script/installmsg.sh
Gerald Carter c6a61ffcbd * sync more files from 3.0
* set version string to "CVS 3.1.0alpha1"
-

24 lines
599 B
Bash

#!/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