diff options
author | Herb Lewis <herb@samba.org> | 2002-03-21 23:42:54 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2002-03-21 23:42:54 +0000 |
commit | 87eb1ffd5577c2cd3f0524da3ff7ffce0b407825 (patch) | |
tree | d9230ec4f9ba6500289bf8e3633e9b707dbb40f5 /source3/script/installdat.sh | |
parent | cd94f6cb634ff5349f1f36883b08e2416c80434a (diff) | |
download | samba-87eb1ffd5577c2cd3f0524da3ff7ffce0b407825.tar.gz samba-87eb1ffd5577c2cd3f0524da3ff7ffce0b407825.tar.xz samba-87eb1ffd5577c2cd3f0524da3ff7ffce0b407825.zip |
make install should also install the default dat files from codepages
directory so we don't keep getting these stupid error messages about
incorrect size for valid.dat upcase.dat and lowcase.dat
(This used to be commit 4af0c7a93f626dde33fd737618c2b786f83046c7)
Diffstat (limited to 'source3/script/installdat.sh')
-rwxr-xr-x | source3/script/installdat.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/source3/script/installdat.sh b/source3/script/installdat.sh new file mode 100755 index 00000000000..7ff88ac788e --- /dev/null +++ b/source3/script/installdat.sh @@ -0,0 +1,23 @@ +#!/bin/sh +#fist version March 2002, Herb Lewis + +DATDIR=$1 +SRCDIR=$2/ + +echo Installing dat files in $DATDIR + +for f in $SRCDIR/codepages/*.dat; do + FNAME=$DATDIR/`basename $f` + echo $FNAME + cp $f $FNAME || echo Cannot install $FNAME. Does $USER have privileges? + chmod 0644 $FNAME +done + +cat << EOF +====================================================================== +The dat files have been installed. +====================================================================== +EOF + +exit 0 + |