mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
ef2e26c91b
(This used to be commit b0510b5428
)
24 lines
488 B
Bash
Executable File
24 lines
488 B
Bash
Executable File
#!/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
|
|
|