mirror of
https://github.com/samba-team/samba.git
synced 2025-10-26 23:33:15 +03:00
This required a new mkdir() call in ejs. We can now provision just the schema for ad2oLschema to operate on (with provision_schema(), without performing the whole provision, just to wipe it again (adjustments to 'make test' to come soon). Andrew Bartlett
29 lines
575 B
Bash
Executable File
29 lines
575 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/*.inf $SETUPDIR || exit 1
|
|
cp setup/*.ldif $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
|