Implement pdb_ads_set_aliasinfo
[Samba.git] / source4 / script / installdat.sh
blobbea8ad891aca3624e7a3a4315bd9f0e9689f453f
1 #!/bin/sh
2 #fist version March 2002, Herb Lewis
4 DATDIR=$1
5 SRCDIR=$2/
7 echo Installing dat files in $DATDIR
9 for f in $SRCDIR/../codepages/*.dat; do
10 FNAME=$DATDIR/`basename $f`
11 echo $FNAME
12 cp $f $FNAME || echo Cannot install $FNAME. Does $USER have privileges?
13 chmod 0644 $FNAME
14 done
16 cat << EOF
17 ======================================================================
18 The dat files have been installed.
19 ======================================================================
20 EOF
22 exit 0