mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
f3d61cc615
(This used to be commit a64490d1e5
)
26 lines
509 B
Bash
Executable File
26 lines
509 B
Bash
Executable File
#!/bin/sh
|
|
# install miscellaneous files
|
|
|
|
SRCDIR="$1"
|
|
LIBDIR="$2"
|
|
BINDIR="$3"
|
|
|
|
cd $SRCDIR || exit 1
|
|
|
|
echo "Installing js libs"
|
|
mkdir -p $LIBDIR/js || exit 1
|
|
cp scripting/libjs/*.js $LIBDIR/js || exit 1
|
|
|
|
echo "Installing setup templates"
|
|
mkdir -p $LIBDIR/setup || exit 1
|
|
cp setup/*.ldif $LIBDIR/setup || exit 1
|
|
cp setup/*.zone $LIBDIR/setup || exit 1
|
|
cp setup/*.conf $LIBDIR/setup || exit 1
|
|
|
|
echo "Installing script tools"
|
|
mkdir -p "$BINDIR"
|
|
rm -f scripting/bin/*~
|
|
cp scripting/bin/* $BINDIR/ || exit 1
|
|
|
|
exit 0
|