1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00
samba-mirror/source4/script/installmisc.sh
Jelmer Vernooij 1adedd108c r24724: Also install the .reg files for provisioning from an installed version.
(This used to be commit 9553c20ced3945c5ab8392f7239ecdc852a0e81b)
2007-10-10 15:02:56 -05:00

31 lines
649 B
Bash
Executable File

#!/bin/sh
# install miscellaneous files
SRCDIR="$1"
JSDIR="$2"
SETUPDIR="$3"
BINDIR="$4"
cd $SRCDIR || exit 1
echo "Installing js libs"
mkdir -p $JSDIR || exit 1
cp scripting/libjs/*.js $JSDIR || exit 1
echo "Installing setup templates"
mkdir -p $SETUPDIR || exit 1
cp setup/schema-map-* $SETUPDIR || exit 1
cp setup/DB_CONFIG $SETUPDIR || exit 1
cp setup/*.inf $SETUPDIR || exit 1
cp setup/*.ldif $SETUPDIR || exit 1
cp setup/*.reg $SETUPDIR || exit 1
cp setup/*.zone $SETUPDIR || exit 1
cp setup/*.conf $SETUPDIR || exit 1
echo "Installing script tools"
mkdir -p "$BINDIR"
rm -f scripting/bin/*~
cp scripting/bin/* $BINDIR/ || exit 1
exit 0